diff options
| author | Tomas Glozar <[email protected]> | 2025-01-23 14:23:36 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-01-24 18:46:16 +0000 |
| commit | d6fcd28ffeaaa6a1733303096637e6bf15704efb (patch) | |
| tree | aaa91f5e70192988844df28cee35f33ac612ad6f /lib/list_debug.c | |
| parent | tools/rtla: Add osnoise_trace_is_off() (diff) | |
| download | kernel-d6fcd28ffeaaa6a1733303096637e6bf15704efb.tar.gz kernel-d6fcd28ffeaaa6a1733303096637e6bf15704efb.zip | |
rtla: Count missed trace events
Add function collect_missed_events to trace.c to act as a callback for
tracefs_follow_missed_events, summing the number of total missed events
into a new field missing_events of struct trace_instance.
In case record->missed_events is negative, trace->missed_events is set
to UINT64_MAX to signify an unknown number of events was missed.
The callback is activated on initialization of the trace instance.
Cc: John Kacur <[email protected]>
Cc: Luis Goncalves <[email protected]>
Cc: Gabriele Monaco <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Tomas Glozar <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions
