]> git.ipfire.org Git - thirdparty/linux.git/commit
rtla: Add function to report missed events
authorTomas Glozar <tglozar@redhat.com>
Thu, 23 Jan 2025 14:23:38 +0000 (15:23 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 24 Jan 2025 18:46:43 +0000 (13:46 -0500)
commit8ccd9d8bb913577c7ec98061cd6e73380e538532
treebf69d58bea3dd6f3c31b42037ad5fd26b79733b9
parent2aee44f721a75daebc55c372271221286efd79ec
rtla: Add function to report missed events

Add osnoise_report_missed_events to be used to report the number
of missed events either during or after an osnoise or timerlat run.
Also, display the percentage of missed events compared to the total
number of received events.

If an unknown number of missed events was reported during the run, the
entire number of missed events is reported as unknown.

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-4-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/src/osnoise.c
tools/tracing/rtla/src/osnoise.h