xen/PMU: Sysfs interface for setting Xen PMU mode
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 10 Aug 2015 20:34:33 +0000 (16:34 -0400)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:26 +0000 (12:24 +0100)
commit5f141548824cebbff2e838ff401c34e667797467
tree873166173fde6592bb01dbd90436ced58d8b7c06
parenta11f4f0a4e18b4bdc7d5e36438711e038b7a1f74
xen/PMU: Sysfs interface for setting Xen PMU mode

Set Xen's PMU mode via /sys/hypervisor/pmu/pmu_mode. Add XENPMU hypercall.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Documentation/ABI/testing/sysfs-hypervisor-pmu [new file with mode: 0644]
arch/x86/include/asm/xen/hypercall.h
arch/x86/xen/Kconfig
drivers/xen/Kconfig
drivers/xen/sys-hypervisor.c
include/xen/interface/xen.h
include/xen/interface/xenpmu.h [new file with mode: 0644]