Project

General

Profile

Actions

Bug #1114

open

Possible invalid discarded events count

Added by Jonathan Rajotte Julien almost 7 years ago. Updated almost 7 years ago.

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

0%

Estimated time:

Description

From Issue #1110:

Then, when running as root, the test will abort if the problem is triggered:

lttng create
lttng enable-channel -u chan_ust
lttng enable-channel -k chan_kernel
lttng add-context -u -t vpid -t ip -t procname -t vtid -c chan_ust
lttng enable-event -u -a -c chan_ust
lttng enable-event -k -c chan_kernel --syscall --all
lttng start
LD_PRELOAD=liblttng-ust-dl.so:liblttng-ust-fork.so:liblttng-ust-fd.so ./fork12
After forcibly stopping the test (^C), errors are reported and events could be miscounted when issuing lttng stop:

[warning] 9223372037047268318 events discarded, please refer to the documentation on channel configuration.

Possible source of problem is that a negative is returned somewhere. Either by kernel or ust trace.

Actions #1

Updated by Jonathan Rajotte Julien almost 7 years ago

  • Subject changed from Possible invalid discarded event count to Possible invalid discarded events count
Actions

Also available in: Atom PDF