aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/interface/xen.h
diff options
context:
space:
mode:
authorBoris Ostrovsky <[email protected]>2015-08-10 20:34:33 +0000
committerDavid Vrabel <[email protected]>2015-08-20 11:24:26 +0000
commit5f141548824cebbff2e838ff401c34e667797467 (patch)
tree873166173fde6592bb01dbd90436ced58d8b7c06 /include/xen/interface/xen.h
parentxen: xensyms support (diff)
downloadkernel-5f141548824cebbff2e838ff401c34e667797467.tar.gz
kernel-5f141548824cebbff2e838ff401c34e667797467.zip
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 <[email protected]> Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'include/xen/interface/xen.h')
-rw-r--r--include/xen/interface/xen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index 8194270edcf0..e9d4501d1f5e 100644
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -80,6 +80,7 @@
#define __HYPERVISOR_kexec_op 37
#define __HYPERVISOR_tmem_op 38
#define __HYPERVISOR_xc_reserved_op 39 /* reserved for XenClient */
+#define __HYPERVISOR_xenpmu_op 40
/* Architecture-specific hypercall definitions. */
#define __HYPERVISOR_arch_0 48