contrib/plugins/hotblocks: Minor bug fixes and add limit argument
Status from this message: Queued to plugins/next, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 5 repliesApplied
- v15 patches 12 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | contrib/plugins/hotblocks: Correctly free sorted counts listcontrib/ | +5 | 0 replies | |
| 2/5 | contrib/plugins/hotblocks: Fix off by one error in iteration of sorted blockscontrib/ | +1 | 0 replies | |
| 3/5 | contrib/plugins/hotblocks: Print uint64_t with PRIu64 rather than PRId64contrib/ | +1 | 0 replies | |
| 4/5 | docs/about/emulation: Add documentation for hotblocks plugin argumentsdocs/ | +10 | 0 replies | |
| 5/5 | contrib/plugins/hotblocks: Allow limit to be set as a command line argumentcontrib/ docs/ | +11 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Manos Pitsidianakis | Pierrick Bouvier |
|---|---|---|
| 1/5 | R-b | R-b |
| 2/5 | R-b | |
| 3/5 | R-b | R-b |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] contrib/plugins/hotblocks: Minor bug fixes and add limit argument
This is a resend of my previous patchset which unfortunately seems not to have been applied (see
<https://lore.kernel.org/qemu-devel/[email protected]/).
I've rebased on current HEAD, checked it works as expected, and added Reviewed-by tags to the patches, which all received review.
Repeating the summary from last time:
This series contains one minor feature addition and a series of small bugfixes/improvements. The addition that motivates the submission is to add a limit argument for the hotblocks plugin, allowing you to control how many blocks are printed rather than being hardcoded to the 20 most executed. Setting limit=0 and dumping information about all executed blocks is incredibly helpful for an analysis script I have downstream.
This is my first contribution to QEMU. I've attempted to follow all of the guidance in the "Submitting a Patch" guide, but apologies if I missed anything.
Alex Bradbury (5):
contrib/plugins/hotblocks: Correctly free sorted counts list contrib/plugins/hotblocks: Fix off by one error in iteration of sorted
blocks
contrib/plugins/hotblocks: Print uint64_t with PRIu64 rather than
PRId64
docs/about/emulation: Add documentation for hotblocks plugin arguments contrib/plugins/hotblocks: Allow limit to be set as a command line
argument
contrib/plugins/hotblocks.c | 20 ++++++++++++++------ docs/about/emulation.rst | 12 ++++++++++++ 2 files changed, 26 insertions(+), 6 deletions(-)
Signature · 1 line
2.52.0