From 58b6d0bfd897e4e62d58554f5a3704a9beaae407 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Thu, 27 Feb 2014 10:55:38 -0500 Subject: [PATCH] missing enable syscalls in create session Signed-off-by: Julien Desfossez --- src/lttng-session.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.5