From: David Goulet Date: Fri, 3 Oct 2014 18:30:54 +0000 (-0400) Subject: Fix: handle kernel event type correctly on enable X-Git-Tag: v2.6.0-rc1~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6e6ef3d70c31588669926cdea08cd14a06ad41e9;p=lttng-tools.git Fix: handle kernel event type correctly on enable Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index dcb79dda2..2a1bfb5f4 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -1462,6 +1462,9 @@ int cmd_enable_event(struct ltt_session *session, struct lttng_domain *domain, switch (event->type) { case LTTNG_EVENT_ALL: + case LTTNG_EVENT_PROBE: + case LTTNG_EVENT_FUNCTION: + case LTTNG_EVENT_FUNCTION_ENTRY: case LTTNG_EVENT_TRACEPOINT: ret = event_kernel_enable_tracepoint(kchan, event); if (ret != LTTNG_OK) {