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>
Fri, 20 May 2016 20:13:00 +0000 (16:13 -0400)
commit4da99cdcb3c8258a4e71928cee04614d821e46a7
tree43edb1f8c193c53ee9f02cf79b9c72b378a5f5a4
parentb467859aba9a4835b1700c73c51c3528d7686c5b
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/config.c
This page took 0.025408 seconds and 4 git commands to generate.