Fix: ensure kernel context is in a list before trying to delete it
[lttng-tools.git] / src / bin / lttng-sessiond / trace-kernel.h
index a39ccd3bb0b6d0b5fd24d9f73cf3d9764623c3f2..74bf1df1d9508029c5f7fe15554f155e6fd6615b 100644 (file)
@@ -45,6 +45,8 @@ struct ltt_kernel_channel_list {
 struct ltt_kernel_context {
        struct lttng_kernel_context ctx;
        struct cds_list_head list;
+       /* Indicates whether or not the context is in a list. */
+       bool in_list;
 };
 
 /* Kernel event */
This page took 0.023766 seconds and 4 git commands to generate.