From: Julien Desfossez Date: Thu, 27 Feb 2014 15:55:38 +0000 (-0500) Subject: missing enable syscalls in create session X-Git-Tag: v0.3~23 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=58b6d0bfd897e4e62d58554f5a3704a9beaae407;p=lttngtop.git missing enable syscalls in create session Signed-off-by: Julien Desfossez --- diff --git a/src/lttng-session.c b/src/lttng-session.c index 459fbba..908d3dc 100644 --- a/src/lttng-session.c +++ b/src/lttng-session.c @@ -272,8 +272,9 @@ int enable_events(char *name, int sudo) int ret; char cmd[1024]; - ret = sprintf(cmd, "%s lttng enable-event -s %s -k %s >/dev/null", - (sudo) ? "sudo" : " ", name, event_list); + ret = sprintf(cmd, "%s lttng enable-event -s %s -k %s >/dev/null;" + "lttng enable-event -k --syscall -a -s %s >/dev/null", + (sudo) ? "sudo" : " ", name, event_list, name); if (ret < 0) { fprintf(stderr, "Allocating cmd\n"); goto end;