diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/uapi/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/x86/include/uapi/asm/kvm_perf.h | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/Kbuild b/arch/x86/include/uapi/asm/Kbuild index 09409c44f9a5..3dec769cadf7 100644 --- a/arch/x86/include/uapi/asm/Kbuild +++ b/arch/x86/include/uapi/asm/Kbuild | |||
@@ -22,6 +22,7 @@ header-y += ipcbuf.h | |||
22 | header-y += ist.h | 22 | header-y += ist.h |
23 | header-y += kvm.h | 23 | header-y += kvm.h |
24 | header-y += kvm_para.h | 24 | header-y += kvm_para.h |
25 | header-y += kvm_perf.h | ||
25 | header-y += ldt.h | 26 | header-y += ldt.h |
26 | header-y += mce.h | 27 | header-y += mce.h |
27 | header-y += mman.h | 28 | header-y += mman.h |
diff --git a/arch/x86/include/uapi/asm/kvm_perf.h b/arch/x86/include/uapi/asm/kvm_perf.h new file mode 100644 index 000000000000..3bb964f88aa1 --- /dev/null +++ b/arch/x86/include/uapi/asm/kvm_perf.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef _ASM_X86_KVM_PERF_H | ||
2 | #define _ASM_X86_KVM_PERF_H | ||
3 | |||
4 | #include <asm/svm.h> | ||
5 | #include <asm/vmx.h> | ||
6 | #include <asm/kvm.h> | ||
7 | |||
8 | #define DECODE_STR_LEN 20 | ||
9 | |||
10 | #define VCPU_ID "vcpu_id" | ||
11 | |||
12 | #define KVM_ENTRY_TRACE "kvm:kvm_entry" | ||
13 | #define KVM_EXIT_TRACE "kvm:kvm_exit" | ||
14 | #define KVM_EXIT_REASON "exit_reason" | ||
15 | |||
16 | #endif /* _ASM_X86_KVM_PERF_H */ | ||