[libvirt] [PATCH v2 0/3] add per cpu stats to all domain stats

Nikolay Shirokovskiy posted 3 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1486033773-575308-1-git-send-email-nshirokovskiy@virtuozzo.com
docs/news.xml                    |   9 ++
include/libvirt/libvirt-domain.h |   1 +
src/libvirt-domain.c             |   7 ++
src/libvirt_private.syms         |   2 +
src/qemu/qemu_driver.c           |  64 ++++++++++++++
src/util/vircgroup.c             | 178 +++++++++++++++++++++++++++------------
src/util/vircgroup.h             |  17 ++++
tools/virsh-domain-monitor.c     |   7 ++
tools/virsh.pod                  |  11 ++-
9 files changed, 238 insertions(+), 58 deletions(-)
[libvirt] [PATCH v2 0/3] add per cpu stats to all domain stats
Posted by Nikolay Shirokovskiy 7 years, 1 month ago
Info provided in virDomainGetCPUStats is currently missed in all
domain stats. This patch removes this discrepancy.

You may need not yet merged patch 
'qemu: fix crash on getting block stats for empty cdrom' to test this
series.

diff from v1:
================

1. reuse code (patches 1, 2)
2. move per cpu stats to a distinct stats group
3. add documentation

Nikolay Shirokovskiy (3):
  cgroup: extract interface part from virCgroupGetPercpuStats
  cgroup: reuse virCgroupGetPercpuTime in virCgroupGetPercpuVcpuSum
  add per cpu stats to all domain stats

 docs/news.xml                    |   9 ++
 include/libvirt/libvirt-domain.h |   1 +
 src/libvirt-domain.c             |   7 ++
 src/libvirt_private.syms         |   2 +
 src/qemu/qemu_driver.c           |  64 ++++++++++++++
 src/util/vircgroup.c             | 178 +++++++++++++++++++++++++++------------
 src/util/vircgroup.h             |  17 ++++
 tools/virsh-domain-monitor.c     |   7 ++
 tools/virsh.pod                  |  11 ++-
 9 files changed, 238 insertions(+), 58 deletions(-)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list