Abstract base `lttng_enabler` to support other types of enablers
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 22 Nov 2019 21:44:28 +0000 (16:44 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Nov 2020 18:09:34 +0000 (13:09 -0500)
commitd871c65bcb2e94c69e0a46e7e0dcd2dae2fce7af
treec7d377d229c4401045ebf2fec17995b5299b4733
parente450e3396b0bfe998e3bde6aef7dc3b4232f8edb
Abstract base `lttng_enabler` to support other types of enablers

Future commits will introduce the concept of event notifier enablers
which are similar to the event enablers already present with a few
differences.

To prepare the ground, this commit moves event dependent fields from the
`struct lttng_enabler` struct to a specialized `struct
lttng_event_enabler`.

The `lttng_enabler_*()` functions cannot be renamed because they are
currently exported. These are only used internally, so we can stop using
them and add new `lttng_event_enabler_*()` functions marked as hidden
which won't be exported (see liblttng-ust/ust-events-internal.h).
`lttng_enabler_*()` functions are kept in the ust-events.h file but
moved to the bottom of the file with other deprecated symbols.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I6d0af091c257a9ad297d17fca8993956279eb848
include/lttng/ust-events.h
liblttng-ust/Makefile.am
liblttng-ust/lttng-events.c
liblttng-ust/lttng-filter.c
liblttng-ust/lttng-ust-abi.c
liblttng-ust/ust-events-internal.h [new file with mode: 0644]
This page took 0.025708 seconds and 4 git commands to generate.