From: Mathieu Desnoyers Date: Fri, 26 Nov 2010 01:53:17 +0000 (-0500) Subject: Handle release of parent files (header) X-Git-Tag: v2.0-pre1~209 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=d4e1a740a3db547f3f9eaebae9200042fb89f7d6;p=lttng-modules.git Handle release of parent files (header) Signed-off-by: Mathieu Desnoyers --- 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 */