Project

General

Profile

Actions

Bug #589

closed

Lost events time ranges may be offset

Added by Matthew Khouzam almost 11 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
07/09/2013
Due date:
% Done:

0%

Estimated time:

Description

I am writing a new lost events scheme in eclipse and noticed that babeltrace will not display lost event ranges in the places where I think they should be.

The attached trace has lost events that should be

[warning] Tracer discarded 213 events between [17:39:14.716328157] and [17:39:.14716328600] in trace UUID 884017b522d74fbcac37cf0078daf8, at path: ".", within stream id 0, at relative path: "channel0_1". You should consider recording a new trace with larger buffers or with fewer events enabled.

but instead we have
[warning] Tracer discarded 213 events between [17:39:14.715967946] and [17:39:14.715968233] in trace UUID 884017b522d74fbcac37cf0078daf8, at path: ".", within stream id 0, at relative path: "channel0_1". You should consider recording a new trace with larger buffers or with fewer events enabled.

On a dev note, this looks like an easy off-by-one problem but I didn't look too closely at the code.


Files

hello-ascending.tar.bz2 (156 KB) hello-ascending.tar.bz2 Matthew Khouzam, 07/09/2013 09:28 AM
0001-Fix-Previous-packet-timestamp-should-not-be-overwrit.patch (1.83 KB) 0001-Fix-Previous-packet-timestamp-should-not-be-overwrit.patch Jérémie Galarneau, 09/06/2013 01:05 PM
test-trace.tar.gz (5.85 KB) test-trace.tar.gz Jérémie Galarneau, 09/06/2013 01:05 PM
patch-babeltrace-events-discarded.patch (14.9 KB) patch-babeltrace-events-discarded.patch Mathieu Desnoyers, 11/06/2013 09:41 AM
fix-discarded-inaccuracy.patch (11.3 KB) fix-discarded-inaccuracy.patch Mathieu Desnoyers, 02/25/2014 05:38 PM

Related issues 2 (0 open2 closed)

Related to Babeltrace - Bug #724: babeltrace of flight recorder trace undergoes time warp?ResolvedMathieu Desnoyers01/23/2014

Actions
Related to Babeltrace - Bug #625: events dropped count misses events since 2.3Resolved09/03/2013

Actions
Actions

Also available in: Atom PDF