Handle release of parent files (header)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Nov 2010 01:53:17 +0000 (20:53 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Nov 2010 01:53:17 +0000 (20:53 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-events.h

index 4e1bc058f5ff9cb55f5e570351f99a85472d957f..3d509772a1ddfdafa795c76d521354394d32934a 100644 (file)
@@ -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 */
This page took 0.025974 seconds and 4 git commands to generate.