From d4e1a740a3db547f3f9eaebae9200042fb89f7d6 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 25 Nov 2010 20:53:17 -0500 Subject: [PATCH] Handle release of parent files (header) Signed-off-by: Mathieu Desnoyers --- ltt-events.h | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.34.1