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:57 +0000 (16:55 -0500)
commitf4f0fb70266576f726efa583130680746df4c172
treeee730650a71e4b182479189dc3b87a3f5b11ff26
parenta53ed9239af287c20f0668413b3c8239a487c920
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.024115 seconds and 4 git commands to generate.