summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4fef87a)
Add a comment to explain why the trace's refcount is not incremented
when setting a stream's trace.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ /* A stream has no ownership of its trace (weak ptr) */
stream->trace = trace;
bt_ctf_ref_init(&stream->ref_count);
stream->packet_context = bt_ctf_field_create(
stream->trace = trace;
bt_ctf_ref_init(&stream->ref_count);
stream->packet_context = bt_ctf_field_create(