Fix: Create stream after adding its stream class to a trace
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Jul 2015 18:43:12 +0000 (14:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Jul 2015 18:43:12 +0000 (14:43 -0400)
commitae294457cab8841fdb945a70ee018637d4e62cc2
tree897ab4286a4a1fa1569190892ad3842fd8137cc1
parent6c827042b878570fc8418a7d3c99b2657c2541da
Fix: Create stream after adding its stream class to a trace

This ensures that a stream class' id is set before we create a stream
instance and initialize its packet header. Otherwise, the packet header
stream_id is initialized to its default value (0).

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/trace.c
This page took 0.02476 seconds and 4 git commands to generate.