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>
Wed, 9 Mar 2016 20:56:37 +0000 (15:56 -0500)
commita78634c5545d64167bfbb091f488a2fb3609013c
tree459c5839f35396e9fb087f30a9bd23daed73177f
parent9ac243ac4b38eca8de552c28ccf68ccabf325f7f
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.025254 seconds and 4 git commands to generate.