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