X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ltt-events.h;h=3d509772a1ddfdafa795c76d521354394d32934a;hb=d4e1a740a3db547f3f9eaebae9200042fb89f7d6;hp=4e1bc058f5ff9cb55f5e570351f99a85472d957f;hpb=0a84a57fc9409a29d63b0dec930a56da4a0a743c;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index 4e1bc058..3d509772 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -33,6 +33,7 @@ struct ltt_channel { struct channel *chan; /* Channel buffers */ /* Event ID management */ struct ltt_session *session; + struct file *file; /* File associated to channel */ unsigned int free_event_id; /* Next event ID to allocate */ struct list_head list; /* Channel list */ wait_queue_head_t notify_wait; /* Channel addition notif. waitqueue */ @@ -40,6 +41,7 @@ struct ltt_channel { struct ltt_session { int active; /* Is trace session active ? */ + struct file *file; /* File associated to session */ struct list_head chan; /* Channel list head */ struct list_head events; /* Event list head */ struct list_head list; /* Session list */