Re: [PATCH v1 0/1] Add an option to stop blktrace based on events recorded
Jeff Moyer <[email protected]> Tue, 14 Jan 2025 09:29:30 -0500
| Newsgroups | org.kernel.vger.linux-btrace |
|---|---|
| Message-ID | <[email protected]> |
Hi, Stephen, Stephen Bates <[email protected]> writes: > 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! Can you expand on the use case? Why is the number of events a useful parameter? Thanks, Jeff