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:26:27 +0000 (17:26 -0400)
commit5805251d80794af957cab5a72e4cc39b5e79c4f7
treedca52ccf8c620ec6ba5d84201fa37549be08de7b
parent0dfc7b628feb554b7379584a417bc65b6a84af73
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.024259 seconds and 4 git commands to generate.