projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ir: freeze attributes when freezing an event
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event.c
diff --git
a/formats/ctf/ir/event.c
b/formats/ctf/ir/event.c
index 85edf6942081f7705e81eeded43eb83ac846397b..1e9f2b853bb1478308eca087598f0610d15c7928 100644
(file)
--- a/
formats/ctf/ir/event.c
+++ b/
formats/ctf/ir/event.c
@@
-525,6
+525,10
@@
int bt_ctf_event_class_set_stream_id(struct bt_ctf_event_class *event_class,
ret = bt_ctf_attributes_set_field_value(event_class->attributes,
"stream_id", obj);
+ if (event_class->frozen) {
+ bt_ctf_attributes_freeze(event_class->attributes);
+ }
+
end:
BT_PUT(obj);
return ret;
This page took
0.02335 seconds
and
4
git commands to generate.