linux/tools/tracing/rtla/src
Andreas Ziegler f86d50bf19 tools/tracing/rtla: osnoise_hist: use total duration for average calculation
[ Upstream commit fe137a4fe0 ]

Sampled durations must be weighted by observed quantity, to arrive at a correct
average duration value.

Perform calculation of total duration by summing (duration * count).

Link: https://lkml.kernel.org/r/20230103103400.275566-2-br015@umbiko.net

Fixes: 829a6c0b56 ("rtla/osnoise: Add the hist mode")

Signed-off-by: Andreas Ziegler <br015@umbiko.net>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:26 +01:00
..
osnoise_hist.c tools/tracing/rtla: osnoise_hist: use total duration for average calculation 2023-03-10 09:33:26 +01:00
osnoise_top.c rtla: Avoid record NULL pointer dereference 2022-05-26 15:18:28 -04:00
osnoise.c rtla/osnoise: Add support to adjust the tracing_thresh 2022-03-15 14:36:48 -04:00
osnoise.h rtla/osnoise: Add support to adjust the tracing_thresh 2022-03-15 14:36:48 -04:00
rtla.c rtla: Add timerlat tool and timelart top mode 2022-01-13 17:02:43 -05:00
timerlat_hist.c rtla: Fix tracer name 2022-08-10 11:43:59 -04:00
timerlat_top.c rtla: Fix tracer name 2022-08-10 11:43:59 -04:00
timerlat.c rtla/timerlat: Add timerlat hist mode 2022-01-13 17:02:43 -05:00
timerlat.h rtla/timerlat: Add timerlat hist mode 2022-01-13 17:02:43 -05:00
trace.c rtla: Fix double free 2022-07-31 17:03:38 -04:00
trace.h rtla: Check for trace off also in the trace instance 2022-03-15 14:36:50 -04:00
utils.c rtla: Define syscall numbers for riscv 2022-07-31 17:04:05 -04:00
utils.h rtla: Remove procps-ng dependency 2022-05-26 15:20:46 -04:00