diff options
| author | Tomas Glozar <[email protected]> | 2025-01-23 14:23:37 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-01-24 18:46:24 +0000 |
| commit | 2aee44f721a75daebc55c372271221286efd79ec (patch) | |
| tree | 666d45d48292b7b14d0d48c9cd7b5c276943c272 /lib/list_debug.c | |
| parent | rtla: Count missed trace events (diff) | |
| download | kernel-2aee44f721a75daebc55c372271221286efd79ec.tar.gz kernel-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 <[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
