[ltt-dev] Crash recovery of traces and final TSC

Pierre-Marc Fournier pierre-marc.fournier at polymtl.ca
Tue Jul 21 21:50:18 EDT 2009


Mathieu,

When the system crashes, the end timestamp is not written in the
subbuffer header. Instead, the value 0 is written. This tends to make
LTTV crash.

What do you think should be done to fix this?

- write the timestamp in the header after writing each event?
- "repair" the trace a posteriori, writing in the header the timestamp
of the last event found in the subbuffer?
- change lttv not to not need the "end timestamp" header field?

Thanks.

pmf




More information about the lttng-dev mailing list