projects
/
lttngtop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d69680
)
missing enable syscalls in create session
author
Julien Desfossez
<jdesfossez@efficios.com>
Thu, 27 Feb 2014 15:55:38 +0000
(10:55 -0500)
committer
Julien Desfossez
<jdesfossez@efficios.com>
Thu, 27 Feb 2014 15:55:38 +0000
(10:55 -0500)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/lttng-session.c
patch
|
blob
|
blame
|
history
diff --git
a/src/lttng-session.c
b/src/lttng-session.c
index 459fbba625498f5b5d3907aa229af97aac8c57ca..908d3dc44b1f98b98685001712aa24b01ca95baa 100644
(file)
--- 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;
This page took
0.027659 seconds
and
4
git commands to generate.