X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ltt-events.h;h=99edb4b12801bd3d1301f3eb7743ced4ad7a4012;hb=1e2015dc246b0aedb981c0121d6c36ffad397e31;hp=d205cdb079ecfc88858b2b45270f0f5b118bb013;hpb=4e3c1b9b19e384d42f060576673d4c3f5453e8cb;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index d205cdb0..99edb4b1 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -27,12 +27,13 @@ struct ltt_channel { struct channel *chan; /* Channel buffers */ /* Event ID management */ struct ltt_session *session; - atomic_t free_event_id; /* Next event ID to allocate */ + unsigned int free_event_id; /* Next event ID to allocate */ struct list_head list; /* Channel list */ char name[PATH_MAX]; }; struct ltt_session { + int active; /* Is trace session active ? */ struct list_head chan; /* Channel list head */ struct list_head events; /* Event list head */ struct list_head list; /* Session list */