Fix: lttng-live format: do not error out on empty streams hang up
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 5 Dec 2019 06:58:09 +0000 (01:58 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Dec 2019 01:02:17 +0000 (20:02 -0500)
commitc8fd9d119dc98ef4785b4d7204939a8a259f67e2
treedde798852ed60661ef364cda21b2e2225836045f
parentcab553af02b34e1979e14d6c0303ad22a5a3c118
Fix: lttng-live format: do not error out on empty streams hang up

Attaching to a stream hung up before providing any trace packet
causes ctf_open_mmap_stream_read() to return an error.

This kind of scenario can happen with the upcoming "lttng clear"
feature.

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