Fix: Only save kernel enablers in session configuration
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Mar 2016 17:08:12 +0000 (12:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Mar 2016 17:08:12 +0000 (12:08 -0500)
commit9897fbc95aea23f996b7543d86363a3dd72a0c53
treeb68287c027be57e72b0a3e925a41526f4a8937d2
parentdb906c125f293467e08c043f27d2797fb748b23e
Fix: Only save kernel enablers in session configuration

The session configuration serialization currently saves the
kernel enablers along with all enabled syscalls. In the case
where a syscall would be enabled with a given filter, this would
result in two events being enabled:

1) the syscall with its filter expression (the enabler)
2) the syscall on its own (an enabled syscall)

The observable effect of this is that the syscall ends up being
traced regardless of the filter's evaluation.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/save.c
src/bin/lttng-sessiond/syscall.c
src/bin/lttng-sessiond/syscall.h
This page took 0.03266 seconds and 4 git commands to generate.