From: Stephen Bates <sbates@raithlin.com>
To: linux-btrace@vger.kernel.org
Cc: axboe@kernel.dk
Subject: [PATCH v1 0/1] Add an option to stop blktrace based on events recorded
Date: Thu, 21 Nov 2024 15:00:57 -0700 [thread overview]
Message-ID: <Zz-tmR3IyJFdSR8Y@snoc-pinewood> (raw)
Hi
I am exploring the idea of tying blktrace to a prometheus exporter to
gather more precise block layer activity across a fleet of servers. As
part of that I thought it might be useful to be able to run blktrace
until a user-specified number of events are recorded.
So the following patch adds a new option to do that. I also updated
the relevant documentation.
I'd appreciate feedback or comments on this!
Cheers
Stephen
Stephen Bates (1):
blktrace/events: Add an option to stop blktrace upon a number of
events
README | 3 ++-
blktrace.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++-
doc/blktrace.8 | 15 +++++++++++++--
doc/blktrace.tex | 7 ++++++-
4 files changed, 69 insertions(+), 5 deletions(-)
--
2.43.0
next reply other threads:[~2024-11-21 22:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-21 22:00 Stephen Bates [this message]
2025-01-14 14:29 ` [PATCH v1 0/1] Add an option to stop blktrace based on events recorded Jeff Moyer
2025-01-19 20:00 ` Stephen Bates
2025-01-21 21:45 ` Jeff Moyer
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=Zz-tmR3IyJFdSR8Y@snoc-pinewood \
--to=sbates@raithlin.com \
--cc=axboe@kernel.dk \
--cc=linux-btrace@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox