aboutsummaryrefslogtreecommitdiffstats
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 @@
1#ifndef LINUX_POWERPC_PERF_HV_COMMON_H_
2#define LINUX_POWERPC_PERF_HV_COMMON_H_
3
4#include <linux/types.h>
5
6struct hv_perf_caps {
7 u16 version;
8 u16 collect_privileged:1,
9 ga:1,
10 expanded:1,
11 lab:1,
12 unused:12;
13};
14
15unsigned long hv_perf_caps_get(struct hv_perf_caps *caps);
16
17#endif