Comment buffer creation behavior wrt packet headers
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 22 May 2011 14:04:47 +0000 (10:04 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 22 May 2011 14:04:47 +0000 (10:04 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-events.c

index 46da159117bc27be766f1eebc97fac5f421e01d8..17d87095c5a1b4bea0c15f9e8906fcb7bab47992 100644 (file)
@@ -170,6 +170,11 @@ struct ltt_channel *ltt_channel_create(struct ltt_session *session,
        chan->session = session;
        init_waitqueue_head(&chan->notify_wait);
        chan->id = session->free_chan_id++;
+       /*
+        * Note: the channel creation op already writes into the packet
+        * headers. Therefore the "chan" information used as input
+        * should be already accessible.
+        */
        chan->chan = transport->ops.channel_create("[lttng]", chan, buf_addr,
                        subbuf_size, num_subbuf, switch_timer_interval,
                        read_timer_interval);
This page took 0.027236 seconds and 4 git commands to generate.