fix rotate pending notif with session id
[deliverable/lttng-tools.git] / src / bin / lttng-sessiond / rotation-thread.h
index 762ef0c0de1705b5412f6cfc7e36bfba37344044..71931a73ab3c2e7c1436b029e083cc65d0256d41 100644 (file)
@@ -26,6 +26,7 @@
 #include <common/compat/poll.h>
 #include <common/hashtable/hashtable.h>
 #include <pthread.h>
+#include "session.h"
 
 struct rotation_channel_key {
        uint64_t key;
@@ -33,11 +34,7 @@ struct rotation_channel_key {
 };
 
 struct rotation_channel_info {
-       union {
-               struct ltt_kernel_channel *kchan;
-               struct ltt_ust_channel *uchan;
-       } chan;
-       struct ltt_session *session;
+       uint64_t session_id;
        struct rotation_channel_key channel_key;
        struct cds_lfht_node rotate_channels_ht_node;
 };
This page took 0.024612 seconds and 5 git commands to generate.