Fix: ir: make sure "stream_id" attr is always right
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 13 Apr 2015 22:14:59 +0000 (18:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 14 Apr 2015 15:41:25 +0000 (11:41 -0400)
commit29664b2a3a15c7233d916887d2f58fc42e18521e
tree224534a87e93bfa4f3e9007c176f8c6aea3f7faa
parent3975bd7e68ab519547cfb2e63fef3c12eeabdf5c
Fix: ir: make sure "stream_id" attr is always right

Make sure the "stream_id" attribute of all the event
classes of a given stream class is updated at the following
places:

  * user sets the stream class ID manually: calling
    bt_ctf_stream_class_set_id()
  * stream class ID is automatically set: in
    bt_ctf_trace_add_stream_class()
  * an event class is added to an existing stream
    class: in bt_ctf_stream_class_add_event_class()

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/event.c
formats/ctf/ir/stream-class.c
formats/ctf/ir/trace.c
include/babeltrace/ctf-ir/event-internal.h
include/babeltrace/ctf-ir/stream-class-internal.h
This page took 0.02454 seconds and 4 git commands to generate.