summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf/hv-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/perf/hv-common.h')
-rw-r--r--arch/powerpc/perf/hv-common.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/powerpc/perf/hv-common.h b/arch/powerpc/perf/hv-common.h
new file mode 100644
index 000000000000..7e615bd38bca
--- /dev/null
+++ b/arch/powerpc/perf/hv-common.h
@@ -0,0 +1,17 @@
+#ifndef LINUX_POWERPC_PERF_HV_COMMON_H_
+#define LINUX_POWERPC_PERF_HV_COMMON_H_
+
+#include <linux/types.h>
+
+struct hv_perf_caps {
+ u16 version;
+ u16 collect_privileged:1,
+ ga:1,
+ expanded:1,
+ lab:1,
+ unused:12;
+};
+
+unsigned long hv_perf_caps_get(struct hv_perf_caps *caps);
+
+#endif