Actions
Bug #1367
openSessions wih --no-output don't show lost packets
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/02/2023
Due date:
% Done:
0%
Estimated time:
Description
Creating a session without any output results in the lost packets count to be zero.
Steps to reproduce:
- lttng create --no-output
- lttng enable-channel --userspace --subbuf-size=$(getconf PAGE_SIZE) --num-subbuf=2 channel0
- lttng enable-event --userspace --channel=channel0 '*'
- lttng start
- ./spam-ust.sh
- lttng status
Got `Statistics: Discard events: 0' but should be `Statistics: None' or `Statistics: Disard events: N'.
Updated by Jérémie Galarneau over 1 year ago
When a session is created in --no-output
or --snapshot
mode, we should still provide reliable "discarded events"/"dropped packets" statistics.
The only difference with the other modes (tracing locally, streaming to a network output, or using live) is that we shouldn't warn the user of those discarded events/dropped packets when the session is stopped and/or destroyed.
Actions