summaryrefslogtreecommitdiff
path: root/scripts/mkuboot.sh
diff options
context:
space:
mode:
authorAndreas Ziegler <br015@umbiko.net>2023-01-03 13:33:59 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-02-01 03:23:36 +0300
commitfe137a4fe0e77eb95396cfc5c3dd7df404421aa4 (patch)
treed1961a818987d735f10b3bb2ba5a64d3b5c30e0f /scripts/mkuboot.sh
parenta37380ef8b54b18717e908e173179bf78c143ed2 (diff)
downloadlinux-fe137a4fe0e77eb95396cfc5c3dd7df404421aa4.tar.xz
tools/tracing/rtla: osnoise_hist: use total duration for average calculation
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: 829a6c0b5698 ("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>
Diffstat (limited to 'scripts/mkuboot.sh')
0 files changed, 0 insertions, 0 deletions