From: David Goulet Date: Mon, 24 Sep 2012 20:55:08 +0000 (-0400) Subject: Fix: Returned code when listing kernel channel X-Git-Tag: v2.1.0-rc4~11 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=c7d620a2a00e1da14a0d06752b9055d9de6017b5;hp=c7d620a2a00e1da14a0d06752b9055d9de6017b5 Fix: Returned code when listing kernel channel The lttng_list_channels() API call now returns a LTTNG_ERR_KERN_CHAN_NOT_FOUND or LTTNG_ERR_UST_CHAN_NOT_FOUND when there is no channel enabled for the session and domain. Changes had to be made to the list command in order to correctly manage the returned code. The bug260 mentionned that the session(s) were destroyed but this could not be reproduce. However, the rest of the bug description is valid. Fixes #260 Signed-off-by: David Goulet ---