diff options
author | 2025-01-23 15:23:37 +0100 | |
---|---|---|
committer | 2025-01-24 13:46:24 -0500 | |
commit | 2aee44f721a75daebc55c372271221286efd79ec (patch) | |
tree | 666d45d48292b7b14d0d48c9cd7b5c276943c272 /scripts/generate_rust_analyzer.py | |
parent | rtla: Count missed trace events (diff) | |
download | wireguard-linux-2aee44f721a75daebc55c372271221286efd79ec.tar.xz wireguard-linux-2aee44f721a75daebc55c372271221286efd79ec.zip |
rtla: Count all processed events
Add a field processed_events to struct trace_instance and increment it
in collect_registered_events, regardless of whether a handler is
registered for the event.
The purpose is to calculate the percentage of events that were missed
due to tracefs buffer overflow.
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-3-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