mirror-linux/tools/tracing/rtla/src
Daniel Bristot de Oliveira 1f428356c3 rtla: Add hwnoise tool
The hwnoise tool is a special mode for the osnoise top tool.

hwnoise dispatches the osnoise tracer and displays a summary of the noise.
The difference is that it runs the tracer with the OSNOISE_IRQ_DISABLE
option set, thus only allowing only hardware-related noise, resulting in
a simplified output. hwnoise has the same features of osnoise.

An example of the tool's output:

 # rtla hwnoise -c 1-11 -T 1 -d 10m -q
                                           Hardware-related Noise
 duration:   0 00:10:00 | time is in us
 CPU Period       Runtime        Noise  % CPU Aval   Max Noise   Max Single          HW          NMI
   1 #599       599000000          138    99.99997           3            3           4           74
   2 #599       599000000           85    99.99998           3            3           4           75
   3 #599       599000000           86    99.99998           4            3           6           75
   4 #599       599000000           81    99.99998           4            4           2           75
   5 #599       599000000           85    99.99998           2            2           2           75

Link: https://lkml.kernel.org/r/2d6f49a6f3a4f8b51b2c806458b1cff71ad4d014.1675805361.git.bristot@kernel.org

Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2023-02-13 23:56:46 -05:00
..
osnoise.c rtla: Add hwnoise tool 2023-02-13 23:56:46 -05:00
osnoise.h rtla: Add hwnoise tool 2023-02-13 23:56:46 -05:00
osnoise_hist.c tools/tracing/rtla: osnoise_hist: display average with two-digit precision 2023-01-31 19:23:36 -05:00
osnoise_top.c rtla: Add hwnoise tool 2023-02-13 23:56:46 -05:00
rtla.c rtla: Add hwnoise tool 2023-02-13 23:56:46 -05:00
timerlat.c rtla: Fix exit status when returning from calls to usage() 2022-12-09 18:06:24 -05:00
timerlat.h rtla/timerlat: Add timerlat hist mode 2022-01-13 17:02:43 -05:00
timerlat_aa.c rtla/timerlat: Add auto-analysis core 2023-02-02 10:48:03 -05:00
timerlat_aa.h rtla/timerlat: Add auto-analysis core 2023-02-02 10:48:03 -05:00
timerlat_hist.c rtla: Fix tracer name 2022-08-10 11:43:59 -04:00
timerlat_top.c rtla/timerlat: Add auto-analysis support to timerlat top 2023-02-02 10:48:04 -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/timerlat: Add auto-analysis core 2023-02-02 10:48:03 -05:00