Fix : segfault when printing timestamp on index
authorJulien Desfossez <julien.desfossez@efficios.com>
Tue, 21 Feb 2012 21:47:15 +0000 (16:47 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 21:47:15 +0000 (16:47 -0500)
commitbadea1a2413e25f0b1961770148e28deba8a3a3f
tree951618fbd9c78ed49471593a8d82869cb5a28333
parentda320b838f4deeaae4314c18c507ca486243b0fe
Fix : segfault when printing timestamp on index

If we detect we lost events in a packet, we print an error message
containing the begin and end timestamps of the packet.  If we detect
this packet loss while generating the index (during the open_trace), the
trace_collection is not yet referenced and so the clock information is
not available. This fix prevents the printing at this stage.

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