Update ABI to select the output method
[lttng-modules.git] / lib / ringbuffer / frontend_types.h
index 1a3187e64d5653bec97bbaf581606ca4186f13e2..283a254f2a61dccc0725b1d9d03d546838fe1ee4 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/kref.h>
 #include "../../wrapper/ringbuffer/config.h"
 #include "../../wrapper/ringbuffer/backend_types.h"
+#include "../../wrapper/spinlock.h"
 #include "../../lib/prio_heap/lttng_prio_heap.h"       /* For per-CPU read-side iterator */
 
 /*
@@ -62,6 +63,8 @@ struct channel {
        int cpu_hp_enable:1;                    /* Enable CPU hotplug notif. */
        int hp_iter_enable:1;                   /* Enable hp iter notif. */
        wait_queue_head_t read_wait;            /* reader wait queue */
+       wait_queue_head_t hp_wait;              /* CPU hotplug wait queue */
+       int finalized;                          /* Has channel been finalized */
        struct channel_iter iter;               /* Channel read-side iterator */
        struct kref ref;                        /* Reference count */
 };
This page took 0.024644 seconds and 4 git commands to generate.