Skip to content

rtla: Timerlat auto-analysis

Daniel Bristot de Oliveira linux-doc linux-trace-devel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rtla/timerlat: Add auto-analysis coretools/tracing/rtla/src/timerlat_aa.c tools/tracing/rtla/src/timerlat_aa.h tools/tracing/rtla/src/utils.h+1005 -00 replies
2/3rtla/timerlat: Add auto-analysis support to timerlat toptools/tracing/rtla/src/timerlat_top.c+44 -20 replies
3/3Documentation/rtla: Add timerlat-top auto-analysis optionsDocumentation/tools/rtla/common_timerlat_aa.rst Documentation/tools/rtla/rtla-timerlat-top.rst+80 -910 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] rtla: Timerlat auto-analysis

Currently, timerlat displays the timerlat tracer latency results, saving the intuitive timerlat trace for the developer to analyze.

This patch goes a step forward in the automaton of the scheduling latency analysis by providing a summary of the root cause of a latency higher than the passed "stop tracing" parameter if the trace stops.

The output is intuitive enough for non-expert users to have a general idea of the root cause by looking at each factor's contribution percentage while keeping the technical detail in the output for more expert users to start an in dept debug or to correlate a root cause with an existing one.

The first patch adds the functionality without using it. The second attaches it to the timerlat top, and the last one updates the man page.

Daniel Bristot de Oliveira (3):
rtla/timerlat: Add auto-analysis core rtla/timerlat: Add auto-analysis support to timerlat top Documentation/rtla: Add timerlat-top auto-analysis options

 .../tools/rtla/common_timerlat_aa.rst         |   7 +
 .../tools/rtla/rtla-timerlat-top.rst          | 164 ++-
 tools/tracing/rtla/src/timerlat_aa.c          | 990 ++++++++++++++++++
 tools/tracing/rtla/src/timerlat_aa.h          |  12 +
 tools/tracing/rtla/src/timerlat_top.c         |  46 +-
 tools/tracing/rtla/src/utils.h                |   3 +
 6 files changed, 1129 insertions(+), 93 deletions(-)
 create mode 100644 Documentation/tools/rtla/common_timerlat_aa.rst
 create mode 100644 tools/tracing/rtla/src/timerlat_aa.c
 create mode 100644 tools/tracing/rtla/src/timerlat_aa.h
Signature · 1 line
2.38.1