This series extends
https://listman.redhat.com/archives/libvir-list/2022-September/234197.html
to support histogram statistics. This requires adding it as a
virTypedParameterType.
[1/5]:
- add virHistogram as a virTypedParameterType
- add utility functions for virHistogram
[2/5]
- add a global feature for histograms similar to strings
[3/5]
- add a flag for histograms similar to the one for strings to check
compatibility for older clients.
[4/5]
- add histogram statistics which were previously ignored in the series
linked above
[5/5]
- add RPC support for virHistogram
Amneesh Singh (5):
virtypedparam: add virHistogram as a virTypedParameterType
add a global feature for supporting virHistogram
virtypedparams: add VIR_TYPED_PARAM_HISTOGRAM_OKAY
qemu_driver: add histograms to the stats
remote: add virHistogram support for RPC as a virTypedParameterType
include/libvirt/libvirt-common.h.in | 59 +++++++++--
src/admin/admin_server_dispatch.c | 6 +-
src/ch/ch_driver.c | 1 +
src/driver.c | 1 +
src/esx/esx_driver.c | 1 +
src/libvirt.c | 46 ++++++---
src/libvirt_internal.h | 5 +
src/libvirt_private.syms | 7 ++
src/libvirt_public.syms | 6 ++
src/libxl/libxl_driver.c | 1 +
src/lxc/lxc_driver.c | 1 +
src/network/bridge_driver.c | 1 +
src/openvz/openvz_driver.c | 1 +
src/qemu/qemu_driver.c | 42 +++++++-
src/remote/remote_daemon_dispatch.c | 15 ++-
src/remote/remote_driver.c | 16 +--
src/remote/remote_protocol.x | 16 +++
src/remote_protocol-structs | 13 +++
src/rpc/gendispatch.pl | 4 +-
src/test/test_driver.c | 1 +
src/util/virtypedparam-public.c | 101 +++++++++++++++++++
src/util/virtypedparam.c | 145 ++++++++++++++++++++++++++++
src/util/virtypedparam.h | 22 +++++
src/vz/vz_driver.c | 1 +
tools/vsh.c | 5 +
25 files changed, 479 insertions(+), 38 deletions(-)
--
2.37.1