Skip to content

rtla: Add hwnoise tool

Daniel Bristot de Oliveira linux-doc linux-trace-devel lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v26 patches 4 repliesSuperseded
  3. v16 patches 1 replySuperseded

Changes in v3 from the cover letter

Consolidate patches 1/5 into a single one (Steven) Change the osnoise option macro to code (Steven)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rtla: Add hwnoise tooltools/tracing/rtla/Makefile tools/tracing/rtla/src/osnoise.c tools/tracing/rtla/src/osnoise.h +2 more+198 -160 replies
2/2Documentation/rtla: Add hwnoise man pageDocumentation/tools/rtla/index.rst Documentation/tools/rtla/rtla-hwnoise.rst+108 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBagas Sanjaya
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/2] rtla: Add hwnoise tool

This series present a new tool inside rtla. It is named hwnoise.

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-5 -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

Changes from v2:
Consolidate patches 1/5 into a single one (Steven) Change the osnoise option macro to code (Steven)
Changes from v1:
Add rtla-hwnoise to the rtla documentation index
(kernel test robot/Bagas Sanjaya)

Daniel Bristot de Oliveira (2):
rtla: Add hwnoise tool
Documentation/rtla: Add hwnoise man page

 Documentation/tools/rtla/index.rst        |   1 +
 Documentation/tools/rtla/rtla-hwnoise.rst | 107 ++++++++++++++++++++
 tools/tracing/rtla/Makefile               |   2 +
 tools/tracing/rtla/src/osnoise.c          | 117 ++++++++++++++++++++++
 tools/tracing/rtla/src/osnoise.h          |   7 ++
 tools/tracing/rtla/src/osnoise_top.c      |  84 +++++++++++++---
 tools/tracing/rtla/src/rtla.c             |   4 +
 7 files changed, 306 insertions(+), 16 deletions(-)
 create mode 100644 Documentation/tools/rtla/rtla-hwnoise.rst
Signature · 1 line
2.38.1