[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240517141247.0ec1242a@gandalf.local.home>
Date: Fri, 17 May 2024 14:12:47 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Masami Hiramatsu
<mhiramat@...nel.org>, Daniel Bristot de Oliveira <bristot@...nel.org>,
John Kacur <jkacur@...hat.com>
Subject: [GIT PULL] tracing/tools: RTLA updates for 6.10
Linus,
Specific for timerlat:
- Improves the output of timerlat top by adding a missing \n,
and by avoiding printing color-formatting characters where
they are translated to regular characters.
- Improves timerlat auto-analysis output by replacing '\t'
with spaces to avoid copy-and-paste issues when reporting
problems.
- For timerlat, make the user-space (-u) option the default,
as it is the most complete test. Add a -k option to use
the in-kernel workload.
- 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.
- timerlat hist was printing initial values (i.e., 0 as max,
and ~0 as min) if the trace stopped before the first Ret-User
event. This problem was fixed by printing the " - "
no value string to the output if that was the case.
For all RTLA tools:
- 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 for -t option. This option is mainly
useful for reducing the trace file. Now rtla depends on
libtracefs >= 1.6.
- Fix the -t [trace_file] parsing, now it does not require
the '=' before the option parameter, and better handles the
multiple ways a user can pass the trace_file.txt
Please pull the latest trace-tools-v6.10 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-tools-v6.10
Tag SHA1: 2e2ffd01fe2dd06c66621bf7404beb31beb50ea1
Head SHA1: 59c22f70b2951d81de410d477ae536ba951b4f37
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
John Kacur (3):
rtla/timerlat: Fix histogram report when a cpu count is 0
rtla: Fix -t\--trace[=file]
rtla: Documentation: Fix -t, --trace
----
Documentation/tools/rtla/common_options.rst | 11 +-
.../tools/rtla/common_osnoise_options.rst | 4 +
.../tools/rtla/common_timerlat_options.rst | 10 +-
tools/tracing/rtla/Makefile.config | 2 +-
tools/tracing/rtla/src/osnoise_hist.c | 55 +++-
tools/tracing/rtla/src/osnoise_top.c | 55 +++-
tools/tracing/rtla/src/timerlat_aa.c | 109 ++++----
tools/tracing/rtla/src/timerlat_hist.c | 294 ++++++++++++++++++---
tools/tracing/rtla/src/timerlat_top.c | 250 +++++++++++++++---
tools/tracing/rtla/src/trace.c | 15 ++
tools/tracing/rtla/src/trace.h | 1 +
11 files changed, 653 insertions(+), 153 deletions(-)
---------------------------
Powered by blists - more mailing lists