[libvirt] [PATCH v4 0/4] perf: add more perf events support

Ren, Qiaowei qiaowei.ren at intel.com
Mon Jul 25 07:59:29 UTC 2016


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 at redhat.com
> Cc: Daniel P. Berrange <berrange at redhat.com>; Peter Krempa
> <pkrempa at redhat.com>; John Ferlan <jferlan at redhat.com>; Ren, Qiaowei
> <qiaowei.ren at 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





More information about the libvir-list mailing list