From: Daniel Bristot de Oliveira <bristot@kernel.org>
To: Daniel Bristot de Oliveira <bristot@kernel.org>,
Steven Rostedt <rostedt@goodmis.org>,
Jonathan Corbet <corbet@lwn.net>
Cc: Juri Lelli <juri.lelli@redhat.com>,
Clark Williams <williams@redhat.com>,
Bagas Sanjaya <bagasdotme@gmail.com>,
linux-trace-devel@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH V3 0/2] rtla: Add hwnoise tool
Date: Tue, 7 Feb 2023 22:48:49 +0100 [thread overview]
Message-ID: <cover.1675805361.git.bristot@kernel.org> (raw)
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
--
2.38.1
next reply other threads:[~2023-02-07 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 21:48 Daniel Bristot de Oliveira [this message]
2023-02-07 21:48 ` [PATCH V3 1/2] rtla: Add hwnoise tool Daniel Bristot de Oliveira
2023-02-07 21:48 ` [PATCH V3 2/2] Documentation/rtla: Add hwnoise man page Daniel Bristot de Oliveira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1675805361.git.bristot@kernel.org \
--to=bristot@kernel.org \
--cc=bagasdotme@gmail.com \
--cc=corbet@lwn.net \
--cc=juri.lelli@redhat.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-devel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.