Skip to content

rtla usage improvements

Daniel Bristot de Oliveira linux-doc linux-trace-kernel lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8rtla/timerlat: Simplify "no value" printing on toptools/tracing/rtla/src/timerlat_top.c+5 -120 replies
2/8rtla/auto-analysis: Replace \t with spacestools/tracing/rtla/src/timerlat_aa.c+63 -460 replies
3/8rtla/timerlat: Use pretty formatting only on interactive ttytools/tracing/rtla/src/timerlat_top.c+18 -70 replies
4/8rtla/timerlat: Add a summary for top modetools/tracing/rtla/src/timerlat_top.c+108 -00 replies
5/8rtla/timerlat: Add a summary for hist modetools/tracing/rtla/src/timerlat_hist.c+129 -10 replies
6/8rtla: Add the --warm-up optionDocumentation/tools/rtla/common_options.rst tools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c +2 more+119 -400 replies
7/8rtla/timerlat: Make user-space threads the defaultDocumentation/tools/rtla/common_timerlat_options.rst tools/tracing/rtla/src/timerlat_hist.c tools/tracing/rtla/src/timerlat_top.c+61 -70 replies
8/8rtla: Add --trace-buffer-size optionDocumentation/tools/rtla/common_options.rst tools/tracing/rtla/src/osnoise_hist.c tools/tracing/rtla/src/osnoise_top.c +4 more+70 -41 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] rtla usage improvements

Hi

These are some changes I have accumulated in the last weeks. Mostly improving the tool's user experience.

- On timerlat top, remove an extra \n that was breaking the output.

- Replace \t with ' ' on the auto analysis, fixing some
copy & paste.

- On timerlat top, do not print TTY formatting characters when the output is not sent to a terminal, because they break the output.

- on timerlat top and hist, add a summary with the overall results. For instance, the minimum value for all CPUs, the overall average and the maximum value from all CPUs.

- Add a --warm-up <seconds> option, allowing the workload to run for <seconds> before starting to collect results.

- Add a --trace-buffer-size option, allowing the user to set the tracing buffer size. This is mainly useful for reducing the trace file.

- Make the user-space threads the default choice, also adding the a -k option, allowing the user to switch to kerne-threads.

Daniel Bristot de Oliveira (8):
rtla/timerlat: Simplify "no value" printing on top rtla/auto-analysis: Replace \t with spaces rtla/timerlat: Use pretty formatting only on interactive tty rtla/timerlat: Add a summary for top mode rtla/timerlat: Add a summary for hist mode
rtla: Add the --warm-up option
rtla/timerlat: Make user-space threads the default
rtla: Add --trace-buffer-size option

 Documentation/tools/rtla/common_options.rst   |   7 +
 .../tools/rtla/common_timerlat_options.rst    |   6 +-
 tools/tracing/rtla/src/osnoise_hist.c         |  41 ++-
 tools/tracing/rtla/src/osnoise_top.c          |  41 ++-
 tools/tracing/rtla/src/timerlat_aa.c          | 109 ++++----
 tools/tracing/rtla/src/timerlat_hist.c        | 220 ++++++++++++++--
 tools/tracing/rtla/src/timerlat_top.c         | 236 +++++++++++++++---
 tools/tracing/rtla/src/trace.c                |  15 ++
 tools/tracing/rtla/src/trace.h                |   1 +
 9 files changed, 566 insertions(+), 110 deletions(-)
Signature · 1 line
2.44.0