From: Mathieu Desnoyers Date: Thu, 27 Jan 2022 19:03:14 +0000 (-0500) Subject: Introduce struct lttng_kernel_event_counter X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=1a2317f877a9a824305fa47138e4ac939eb19a50;p=lttng-modules.git Introduce struct lttng_kernel_event_counter Signed-off-by: Mathieu Desnoyers Change-Id: Ie0e9ab234bce48c3ce23cf0d4c664ce4bb3bdaee --- diff --git a/include/lttng/events.h b/include/lttng/events.h index 22f654be..d316ff6d 100644 --- a/include/lttng/events.h +++ b/include/lttng/events.h @@ -27,6 +27,7 @@ #define lttng_is_signed_type(type) (((type) -1) < (type) 1) struct lttng_kernel_channel_buffer; +struct lttng_kernel_channel_counter; struct lttng_kernel_session; struct lttng_kernel_ring_buffer_ctx; @@ -374,6 +375,15 @@ struct lttng_kernel_event_recorder { struct lttng_kernel_channel_buffer *chan; }; +struct lttng_kernel_event_counter_private; + +struct lttng_kernel_event_counter { + struct lttng_kernel_event_common parent; + struct lttng_kernel_event_counter_private *priv; /* Private event counter interface */ + + struct lttng_kernel_channel_counter *chan; +}; + struct lttng_kernel_notification_ctx { int eval_capture; /* Capture evaluation available. */ };