Skip to content

Add an option to stop blktrace based on events recorded

Stephen Bates linux-btrace 1 version In review

Get series with b4
b4 am Zz-tmR3IyJFdSR8Y@snoc-pinewood

Versions newest first

  1. v1 Latest0 of 1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/1] Add an option to stop blktrace based on events recorded

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(-)
Signature · 1 line
2.43.0