Introduce struct lttng_kernel_event_counter
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 27 Jan 2022 19:03:14 +0000 (14:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jul 2024 20:58:48 +0000 (16:58 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ie0e9ab234bce48c3ce23cf0d4c664ce4bb3bdaee

include/lttng/events.h

index 22f654be96d4a92ad5c68b80d24fcb372ad0bfc8..d316ff6de3cebfe78293ea246b9e4ce078d33d5a 100644 (file)
@@ -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. */
 };
This page took 0.026387 seconds and 4 git commands to generate.