Fix: handle kernel event type correctly on enable
authorDavid Goulet <dgoulet@efficios.com>
Fri, 3 Oct 2014 18:30:54 +0000 (14:30 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 3 Oct 2014 18:30:54 +0000 (14:30 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c

index dcb79dda2ab9be31cb75f523691640d3055b6293..2a1bfb5f4670110e24ffab931f085dac4ed57f0c 100644 (file)
@@ -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) {
This page took 0.028352 seconds and 4 git commands to generate.