diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-03-10 06:00:43 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:15:22 -0400 |
commit | 2ed152afc7ed61830b848b32936e1541a1a57799 (patch) | |
tree | e68c626fa21cd0ee63371d42700050ad39daecbb /arch/x86/kvm/mmutrace.h | |
parent | 06056bfb944a0302a8f22eb45f09123de7fb417b (diff) |
KVM: cleanup kvm trace
This patch does:
- no need call tracepoint_synchronize_unregister() when kvm module
is unloaded since ftrace can handle it
- cleanup ftrace's macro
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmutrace.h')
-rw-r--r-- | arch/x86/kvm/mmutrace.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/kvm/mmutrace.h b/arch/x86/kvm/mmutrace.h index 3e4a5c6ca2a..1fe956ab761 100644 --- a/arch/x86/kvm/mmutrace.h +++ b/arch/x86/kvm/mmutrace.h | |||
@@ -6,8 +6,6 @@ | |||
6 | 6 | ||
7 | #undef TRACE_SYSTEM | 7 | #undef TRACE_SYSTEM |
8 | #define TRACE_SYSTEM kvmmmu | 8 | #define TRACE_SYSTEM kvmmmu |
9 | #define TRACE_INCLUDE_PATH . | ||
10 | #define TRACE_INCLUDE_FILE mmutrace | ||
11 | 9 | ||
12 | #define KVM_MMU_PAGE_FIELDS \ | 10 | #define KVM_MMU_PAGE_FIELDS \ |
13 | __field(__u64, gfn) \ | 11 | __field(__u64, gfn) \ |
@@ -216,5 +214,10 @@ TRACE_EVENT( | |||
216 | 214 | ||
217 | #endif /* _TRACE_KVMMMU_H */ | 215 | #endif /* _TRACE_KVMMMU_H */ |
218 | 216 | ||
217 | #undef TRACE_INCLUDE_PATH | ||
218 | #define TRACE_INCLUDE_PATH . | ||
219 | #undef TRACE_INCLUDE_FILE | ||
220 | #define TRACE_INCLUDE_FILE mmutrace | ||
221 | |||
219 | /* This part must be outside protection */ | 222 | /* This part must be outside protection */ |
220 | #include <trace/define_trace.h> | 223 | #include <trace/define_trace.h> |