]> git.lttng.org Git - lttng-tools.git/commit
Maintain recording channel configuration objects in ltt_session
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 Sep 2024 09:36:09 +0000 (05:36 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 25 Nov 2024 19:58:09 +0000 (19:58 +0000)
commitea37569f8d76e8987a32c788301037031dfe3808
treee896f132594e16c9b7b786ae61abd031b563f8c2
parent765b439e2e2c5016342bceebd1e05e8115e6b3fb
Maintain recording channel configuration objects in ltt_session

Maintain the state of event rules in the ltt_session's channel
configurations. This is laying the groundwork to maintain triggers (and
ultimately, event-rules) associated with map channels.

liblttng-ctl now converts the lttng_event specifications into
event-rules which are used by the session daemon to maintain recording
channel configurations.

The objective is to share the synchronization code of
tracers (essentially, the description of enablers and channel
configuration) with the session configurations when adding support for
maps.

As of this commit, the event-rule-configurations are maintained
internally, but aren't use to synchronize the tracer configuration.

Change-Id: I6067ef31ca4b9cead55cf4c9dc2bac8dd8ca3400
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
26 files changed:
include/lttng/channel.h
include/lttng/event-rule/event-rule-internal.hpp
src/bin/lttng-sessiond/Makefile.am
src/bin/lttng-sessiond/client.cpp
src/bin/lttng-sessiond/cmd.cpp
src/bin/lttng-sessiond/cmd.hpp
src/bin/lttng-sessiond/domain.cpp [new file with mode: 0644]
src/bin/lttng-sessiond/domain.hpp [new file with mode: 0644]
src/bin/lttng-sessiond/event-rule-configuration.cpp [new file with mode: 0644]
src/bin/lttng-sessiond/event-rule-configuration.hpp [new file with mode: 0644]
src/bin/lttng-sessiond/recording-channel-configuration.cpp [new file with mode: 0644]
src/bin/lttng-sessiond/recording-channel-configuration.hpp [new file with mode: 0644]
src/bin/lttng-sessiond/session.cpp
src/bin/lttng-sessiond/session.hpp
src/common/Makefile.am
src/common/ctl/format.hpp
src/common/ctl/memory.hpp [new file with mode: 0644]
src/common/format.hpp
src/common/math.hpp [new file with mode: 0644]
src/common/string-utils/c-string-view.hpp
src/lib/lttng-ctl/Makefile.am
src/lib/lttng-ctl/channel.cpp
src/lib/lttng-ctl/event-rule-convert.cpp [new file with mode: 0644]
src/lib/lttng-ctl/event-rule-convert.hpp [new file with mode: 0644]
src/lib/lttng-ctl/lttng-ctl.cpp
tests/regression/tools/save-load/load-42-complex.lttng
This page took 0.032044 seconds and 4 git commands to generate.