Fix: load event state (enabled/disabled) correctly
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 23 Oct 2015 15:32:44 +0000 (11:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 16 May 2016 02:39:15 +0000 (22:39 -0400)
commit14112fff245d96d9d6f37b08a292ec8b1aa438cb
tree325f05841486a7465a5b34e5e34463657a6e86b1
parent1a17cae8e627dc32113e6e3cac646e0f3a8b7889
Fix: load event state (enabled/disabled) correctly

This bug fix is a workaround due to limitations of lttng_disable_event_ext
regarding the disabling of events with similar name but different
characteristics. Although lttng_disable_event_ext provides support for
disabling by name and filter string it does not support exclusion.

The loading of events is cut in 3 phases.

1 - Create all events regardless of their state.
2 - Disable all events.
3 - Enable only the events with the 'enabled' state.

Fixes #959

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/session-config.c
This page took 0.02571 seconds and 4 git commands to generate.