Fix: mmap trace read the stream_id from the first packet
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 14 Jul 2014 21:11:31 +0000 (17:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 14 Jul 2014 21:27:16 +0000 (17:27 -0400)
commitfb6b45aa1cd6baad19b42ef7cc7fa575c45895e1
treeb75ac82e80844c851bce51e6abd5e07b0d3ce3fc
parent9aa155c5e977ea5f31023b6726f99a58aa01daeb
Fix: mmap trace read the stream_id from the first packet

We were hardcoding the stream_id as 0 for mmap traces, causing a
problem for live traces with multiple channels.
A fix enters in lttng-tools v2.4.2 to send the CTF stream id in the beacon
packets, but until then, we cannot support traces with multiple CTF
streams (LTTng channels).

Fixes: #811
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/ctf.c
formats/lttng-live/lttng-live-comm.c
formats/lttng-live/lttng-live.h
This page took 0.024485 seconds and 4 git commands to generate.