Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [BABELTRACE PATCH] Pass stream pointer with callback caller data
@ 2011-09-27 16:03 Julien Desfossez
  2011-09-30  0:39 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Desfossez @ 2011-09-27 16:03 UTC (permalink / raw)


Signed-off-by: Julien Desfossez <julien.desfossez at polymtl.ca>
---
 converter/babeltrace-lib.c      |    1 +
 include/babeltrace/babeltrace.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/converter/babeltrace-lib.c b/converter/babeltrace-lib.c
index d62565c..ac3bd7c 100644
--- a/converter/babeltrace-lib.c
+++ b/converter/babeltrace-lib.c
@@ -505,6 +505,7 @@ void process_callbacks(struct babeltrace_iter *iter,
 	struct bt_ctf_data ctf_data;
 
 	ctf_data.event = extract_ctf_stream_event(stream);
+	ctf_data.stream = stream;
 
 	/* process all events callback first */
 	if (iter->main_callbacks.callback) {
diff --git a/include/babeltrace/babeltrace.h b/include/babeltrace/babeltrace.h
index fe5881a..5fce0a6 100644
--- a/include/babeltrace/babeltrace.h
+++ b/include/babeltrace/babeltrace.h
@@ -52,6 +52,7 @@ struct trace_collection_pos {
 
 struct bt_ctf_data {
 	struct ctf_stream_event *event;
+	struct ctf_stream *stream;
 };
 
 /*
-- 
1.7.6.3





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-30  0:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-27 16:03 [ltt-dev] [BABELTRACE PATCH] Pass stream pointer with callback caller data Julien Desfossez
2011-09-30  0:39 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox