Fix: allow empty CTF files
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 5 Jan 2015 02:17:30 +0000 (21:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 5 Jan 2015 21:55:37 +0000 (16:55 -0500)
commitde52f946293c27220e1b63f3da5d4f068fd43479
tree13cf3554041e4edf4c33cc942ef47bd2205f28d3
parent543409b06210e4f5545758941025e9eb439affe4
Fix: allow empty CTF files

There are expected situtations in which CTF producers (like LTTng) can
generate empty CTF trace files. The current babeltrace behavior is to
trigger an error when an empty file is encountered. Change this to allow
reading the rest of the trace anyway.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/ctf.c
This page took 0.023937 seconds and 4 git commands to generate.