Signed-off-by: Julien Desfossez <[email protected]>
---
 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


_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to