Project

General

Profile

Actions

Bug #1121

open

Babeltrace 2.0-pre reports negative timestamp with ctf-writer traces

Added by Anonymous over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/07/2017
Due date:
% Done:

0%

Estimated time:

Description

I am trying to read the following two traces with Babeltrace 2:
https://github.com/tracecompass/tracecompass-test-traces/tree/master/ctf/src/main/resources/ctfwriter_JF8nq3
https://github.com/tracecompass/tracecompass-test-traces/tree/master/ctf/src/main/resources/funky_trace

The timestamps are reported as negative, like this:

[-8828042786.100214613] (+0.000000001) Spammy_Event: { custom_packet_context_field = 2 }, { common_event_context = 29 }, { field_1 = 28169, a_string = "This is a test" }
[warning] Fallback to [sec.ns] to print negative time value. Use --clock-seconds.

The timestamps were reported correctly with Babeltrace 1 on the same traces.

Actions

Also available in: Atom PDF