Enable all events command enable also syscalls
authorDavid Goulet <david.goulet@polymtl.ca>
Fri, 30 Sep 2011 13:42:10 +0000 (09:42 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Fri, 30 Sep 2011 13:42:10 +0000 (09:42 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/event.c

index 66e134e4641be8690f9fffbbb10086a96d229bdc..dfafd88e8b2dc1625daae860a03aceafb811d20a 100644 (file)
@@ -161,6 +161,12 @@ int event_kernel_enable_all(struct ltt_kernel_session *ksession,
 
        free(event_list);
 
+       /* Also enable syscalls when enabling all events */
+       ret = event_kernel_enable_syscalls(ksession, kchan, kernel_tracer_fd);
+       if (ret < 0) {
+               goto error;
+       }
+
        ret = LTTCOMM_OK;
 
 error:
This page took 0.033786 seconds and 4 git commands to generate.