From: Mathieu Desnoyers Date: Sat, 19 Jul 2014 21:16:22 +0000 (-0400) Subject: Support lttng-modules syscall filtering in enable-event X-Git-Tag: v2.6.0-rc1~44 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c6aa2d41cdd9daddc133e43cf6e1f2daae818cdd;p=lttng-tools.git Support lttng-modules syscall filtering in enable-event Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/commands/enable_events.c b/src/bin/lttng/commands/enable_events.c index 3263c588a..a06dbb760 100644 --- a/src/bin/lttng/commands/enable_events.c +++ b/src/bin/lttng/commands/enable_events.c @@ -927,8 +927,8 @@ static int enable_events(char *session_name) ev.attr.ftrace.symbol_name[LTTNG_SYMBOL_NAME_LEN - 1] = '\0'; break; case LTTNG_EVENT_SYSCALL: - MSG("per-syscall selection not supported yet. Use \"-a\" " - "for all syscalls."); + ev.type = LTTNG_EVENT_SYSCALL; + break; default: ret = CMD_UNDEFINED; goto error;