projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Confusion between stream and stream class IDs
[babeltrace.git]
/
formats
/
ctf
/
writer
/
writer.c
diff --git
a/formats/ctf/writer/writer.c
b/formats/ctf/writer/writer.c
index b0a35c6963d04245c1f4862f7ae74be3eb5069d6..3ef4dae94d373be3b8396731f1a9c7c52d6858d8 100644
(file)
--- a/
formats/ctf/writer/writer.c
+++ b/
formats/ctf/writer/writer.c
@@
-724,7
+724,8
@@
void stream_flush_cb(struct bt_ctf_stream *stream, struct bt_ctf_writer *writer)
stream_id = bt_ctf_field_structure_get_field(
writer->trace_packet_header, "stream_id");
stream_id = bt_ctf_field_structure_get_field(
writer->trace_packet_header, "stream_id");
- bt_ctf_field_unsigned_integer_set_value(stream_id, stream->id);
+ bt_ctf_field_unsigned_integer_set_value(stream_id,
+ stream->stream_class->id);
bt_ctf_field_put(stream_id);
/* Write the trace_packet_header */
bt_ctf_field_put(stream_id);
/* Write the trace_packet_header */
This page took
0.024634 seconds
and
4
git commands to generate.