Hey,
This tiny series changes the tracepoint to include the number of
dirty pages via the vfio_get_dirty_bitmap. I find it useful for
observability in general to understand the number of dirty pages in an
IOVA range. With dirty tracking supported by device or IOMMU it's specially
relevant data to include in the tracepoint.
First patch includes the dirty argument in the helper function setting
dirty bits and the second patch just expands the tracepoint to include
the dirty pages.
Thanks,
Joao
[1]
https://lore.kernel.org/qemu-devel/[email protected]/#r
Joao Martins (2):
exec/ram_addr: add dirty arg to cpu_physical_memory_set_dirty_lebitmap()
hw/vfio: Add nr of dirty pages to vfio_get_dirty_bitmap tracepoint
accel/kvm/kvm-all.c | 2 +-
hw/vfio/common.c | 7 ++++---
hw/vfio/trace-events | 2 +-
include/exec/ram_addr.h | 10 +++++++++-
4 files changed, 15 insertions(+), 6 deletions(-)
--
2.31.1