Skip to content

rtla: Improved tracing support

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest15 patches 1 replyIn review
  2. v211 patches 0 repliesSuperseded
  3. v17 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Rebased to for-next
- Add --dma-latency
- Some more fixes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15rtla/osnoise: Add support to adjust the tracing_threshtools/tracing/rtla/src/osnoise.c tools/tracing/rtla/src/osnoise.h+91 -00 replies
2/15rtla/osnoise: Add an option to set the thresholdDocumentation/tools/rtla/common_osnoise_options.rst tools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c+40 -70 replies
3/15rtla/osnoise: Add the automatic trace optionDocumentation/tools/rtla/common_osnoise_options.rst tools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c+37 -60 replies
4/15rtla/timerlat: Add the automatic trace optionDocumentation/tools/rtla/common_timerlat_options.rst tools/tracing/rtla/src/timerlat_hist.c tools/tracing/rtla/src/timerlat_top.c+46 -70 replies
5/15rtla/trace: Add trace events helperstools/tracing/rtla/src/trace.c tools/tracing/rtla/src/trace.h+119 -00 replies
6/15rtla: Add -e/--event supportDocumentation/tools/rtla/common_options.rst tools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c +2 more+114 -110 replies
7/15rtla/trace: Add trace event trigger helperstools/tracing/rtla/src/trace.c tools/tracing/rtla/src/trace.h+91 -10 replies
8/15rtla: Add --trigger supportDocumentation/tools/rtla/common_options.rst tools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c +2 more+65 -100 replies
9/15rtla/trace: Add trace event filter helperstools/tracing/rtla/src/trace.c tools/tracing/rtla/src/trace.h+86 -00 replies
10/15rtla: Add --filter supportDocumentation/tools/rtla/common_options.rst tools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c +2 more+70 -100 replies
11/15rtla/trace: Save event histogram output to a fileDocumentation/tools/rtla/common_options.rst tools/tracing/rtla/src/trace.c+62 -10 replies
12/15rtla: Check for trace off also in the trace instancetools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c tools/tracing/rtla/src/timerlat_hist.c +3 more+28 -80 replies
13/15rtla/osnoise: Fix osnoise hist stop tracing messagetools/tracing/rtla/src/osnoise_hist.c+1 -10 replies
14/15rtla/timerlat: Add --dma-latency optionDocumentation/tools/rtla/common_timerlat_options.rst tools/tracing/rtla/src/timerlat_hist.c tools/tracing/rtla/src/timerlat_top.c +2 more+91 -40 replies
15/15rtla: Tools main loop cleanuptools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c tools/tracing/rtla/src/timerlat_hist.c +1 more+5 -50 replies

Reviews trailers per patch

None of the 15 patches has a Reviewed-by or Acked-by.

PatchJuri Lelli
SeriesT-b
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

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 00/15] rtla: Improved tracing support

This set introduces some tracing facilities to rtla tools:

- Add the possibility to change the tracing_thresh to osnoise, allowing a fine tune of OS noise detection.

- Add the auto-tracing feature (-a threshold us), which aims helping the first approach to a problem by setting common tracing features with a single parameter.

- Add -e/--event option, allowing osnoise and timerlat to enable additional trace events via (possible multiple) -e sys:event options.

- Add the --filter option to filter the previous -e event.

- Add the --trigger option to allow the usage of tracing trigger of the previously set -e event. If the trigger is hist: one, rtla automatically saves the hist file associated with the -e event.

And some more improvements:

- Add --dma-latency option to tune exit from idle latencies

- Some minor fixes

Changes from V2:
- Rebased to for-next
- Add --dma-latency
- Some more fixes
Changes from V1:
- Add -e to osnoise/timerlat hist
- Add --trigger
- Add --filter
- Add support to save hist file
- Function name refactoring

Daniel Bristot de Oliveira (15):
rtla/osnoise: Add support to adjust the tracing_thresh rtla/osnoise: Add an option to set the threshold rtla/osnoise: Add the automatic trace option rtla/timerlat: Add the automatic trace option rtla/trace: Add trace events helpers
rtla: Add -e/--event support
rtla/trace: Add trace event trigger helpers
rtla: Add --trigger support
rtla/trace: Add trace event filter helpers
rtla: Add --filter support
rtla/trace: Save event histogram output to a file
rtla: Check for trace off also in the trace instance rtla/osnoise: Fix osnoise hist stop tracing message rtla/timerlat: Add --dma-latency option
rtla: Tools main loop cleanup

 Documentation/tools/rtla/common_options.rst   |  19 +
 .../tools/rtla/common_osnoise_options.rst     |  10 +
 .../tools/rtla/common_timerlat_options.rst    |  12 +
 tools/tracing/rtla/src/osnoise.c              |  83 +++++
 tools/tracing/rtla/src/osnoise.h              |   8 +
 tools/tracing/rtla/src/osnoise_hist.c         |  95 ++++-
 tools/tracing/rtla/src/osnoise_top.c          |  91 ++++-
 tools/tracing/rtla/src/timerlat_hist.c        | 108 +++++-
 tools/tracing/rtla/src/timerlat_top.c         | 103 +++++-
 tools/tracing/rtla/src/trace.c                | 345 ++++++++++++++++++
 tools/tracing/rtla/src/trace.h                |  23 ++
 tools/tracing/rtla/src/utils.c                |  33 ++
 tools/tracing/rtla/src/utils.h                |   1 +
 13 files changed, 903 insertions(+), 28 deletions(-)
Signature · 1 line
2.34.1