Fix: lttng_set_event_filter() was returning bad error code
authorDavid Goulet <dgoulet@efficios.com>
Mon, 24 Sep 2012 17:24:48 +0000 (13:24 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 24 Sep 2012 17:24:48 +0000 (13:24 -0400)
commitff7ef7b8297ae2e3aa6451a0045d657d91aec7be
tree645f2058d22961a6fad66fe7850f4c05190b305a
parent45a32634662c4b3f411deaf7380c89bf3b6e4a59
Fix: lttng_set_event_filter() was returning bad error code

Change the API call to return a lttng-error.h code. Also change the
already enable filter message from an ERR() to a WARN().

On error, the lttng UI now prints the returned error from the API call.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/enable_events.c
src/lib/lttng-ctl/lttng-ctl.c
This page took 0.025924 seconds and 4 git commands to generate.