[PATCH v2 0/3] domstats:add haltpolling time statistic interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series add the ability to statistic the halt polling time when
VM execute HLT(arm is WFI).

v1:
https://listman.redhat.com/archives/libvir-list/2021-July/msg00029.html

changes from v1:
- Move virGetCgroupValueRaw to utils.c and rename it virGetValueRaw. So
  that we can call it to obtain halt polling time.
- Helper function virGetCpuHaltPollTime and virGetDebugFsKvmValue are
  added in a separate patch
- Use STRPREFIX to match the path prefix.
- Fix the logic that domstats will break when platform is non-linux,
  debugfs isn't mounted and so on.

Yang Fei (3):
  util: Move virGetCgroupValueRaw to vircgroup.c and rename it
    virGetValueRaw
  util: Add virGetCpuHaltPollTime and virGetDebugFsKvmValue
  qemu: Introduce qemuDomainGetStatsCpuHaltPollTime

 src/libvirt_private.syms |   2 +
 src/qemu/qemu_driver.c   |  28 +++++++++++
 src/util/vircgroup.c     |  29 +----------
 src/util/vircgrouppriv.h |   3 --
 src/util/vircgroupv1.c   |   5 +-
 src/util/vircgroupv2.c   |   5 +-
 src/util/virutil.c       | 101 +++++++++++++++++++++++++++++++++++++++
 src/util/virutil.h       |  12 +++++
 8 files changed, 151 insertions(+), 34 deletions(-)

-- 
2.23.0





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux