Hi John and Peter,
Thanks for your reviews, and do you have any other comments about this patchset?
- Qiaowei
-----Original Message-----
From: Ren, Qiaowei
Sent: Saturday, July 16, 2016 4:15 PM
To: libvir-list(a)redhat.com
Cc: Daniel P. Berrange <berrange(a)redhat.com>; Peter Krempa
<pkrempa(a)redhat.com>; John Ferlan <jferlan(a)redhat.com>; Ren, Qiaowei
<qiaowei.ren(a)intel.com>
Subject: [PATCH v4 0/4] perf: add more perf events support
With current perf framework, this patchset refactor virPerfEventEnable() for
general purpose and add more perf events support based on this change,
including cache misses, cache references, cpu cycles, instrctions, etc..
Changes since v3:
* separate the patch into 4 patches.
* update virsh.pod for new perf events.
* introduce a static attr table that would be able to convert the
VIR_PERF_EVENT_* into their respective "attr.type" and
"attr.config".
Qiaowei Ren (4):
perf: rename qemuDomainGetStatsPerfRdt()
perf: introduce a static attr table and refactor virPerfEventEnable()
for general purpose
perf: add more perf events support
perf: add description for new events in virsh.pod
docs/formatdomain.html.in | 24 ++++
docs/schemas/domaincommon.rng | 4 +
include/libvirt/libvirt-domain.h | 39 ++++++
src/libvirt-domain.c | 8 ++
src/qemu/qemu_driver.c | 23 ++--
src/util/virperf.c | 176 +++++++++++++++++-----------
src/util/virperf.h | 11 ++
tests/genericxml2xmlindata/generic-perf.xml | 4 +
tools/virsh.pod | 4 +
9 files changed, 211 insertions(+), 82 deletions(-)
--
1.9.1