aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorTomas Glozar <tglozar@redhat.com>2025-01-23 15:23:36 +0100
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-01-24 13:46:16 -0500
commitd6fcd28ffeaaa6a1733303096637e6bf15704efb (patch)
treeaaa91f5e70192988844df28cee35f33ac612ad6f /scripts/generate_rust_analyzer.py
parenttools/rtla: Add osnoise_trace_is_off() (diff)
downloadwireguard-linux-d6fcd28ffeaaa6a1733303096637e6bf15704efb.tar.xz
wireguard-linux-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 <jkacur@redhat.com> Cc: Luis Goncalves <lgoncalv@redhat.com> Cc: Gabriele Monaco <gmonaco@redhat.com> Link: https://lore.kernel.org/20250123142339.990300-2-tglozar@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions