]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor: Extract block latency histogram stats into 'qemuBlockStats'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 29 Jan 2026 13:08:18 +0000 (14:08 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Feb 2026 09:24:09 +0000 (10:24 +0100)
commit1c77d396ea9704eae09d7fea160cfd1a897beaf3
treeda0c0c40436b87637ab948ed2e24f8a74dfb32e8
parent42a39d703d98e4e48f0f9c8779884b6ac107de26
qemu: monitor: Extract block latency histogram stats into 'qemuBlockStats'

Extract the 'rd_latency_histogram', 'wr_latency_histogram',
'zone_append_latency_histogram', and 'flush_latency_histogram' stats
objects into our internal data.

Rather than storing 'boundaries' between bins we store them as start
points.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c