From: Mathieu Desnoyers Date: Thu, 27 Jan 2022 19:09:51 +0000 (-0500) Subject: Introduce struct lttng_event_counter_enabler X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=c8aa131cf0a67dbfbd6fcc06a204ac2198cce9be;p=lttng-modules.git Introduce struct lttng_event_counter_enabler Signed-off-by: Mathieu Desnoyers Change-Id: I9683c18b4d661d65b128a1edda5adb1154d8d543 --- diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index fcda6386..2067d3fe 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -299,6 +299,12 @@ struct lttng_event_recorder_enabler { struct lttng_kernel_channel_buffer *chan; }; +struct lttng_event_counter_enabler { + struct lttng_event_enabler_session_common parent; + struct lttng_kernel_channel_counter *chan; + struct lttng_counter_key key; +}; + struct lttng_event_notifier_enabler { struct lttng_event_enabler_common parent; uint64_t error_counter_index;