aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/trace.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-03-10 06:00:43 -0500
committerAvi Kivity <avi@redhat.com>2010-05-17 05:15:22 -0400
commit2ed152afc7ed61830b848b32936e1541a1a57799 (patch)
treee68c626fa21cd0ee63371d42700050ad39daecbb /arch/x86/kvm/trace.h
parent06056bfb944a0302a8f22eb45f09123de7fb417b (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/trace.h')
-rw-r--r--arch/x86/kvm/trace.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h
index 17b52ccd9774..b75efef79e56 100644
--- a/arch/x86/kvm/trace.h
+++ b/arch/x86/kvm/trace.h
@@ -5,8 +5,6 @@
5 5
6#undef TRACE_SYSTEM 6#undef TRACE_SYSTEM
7#define TRACE_SYSTEM kvm 7#define TRACE_SYSTEM kvm
8#define TRACE_INCLUDE_PATH arch/x86/kvm
9#define TRACE_INCLUDE_FILE trace
10 8
11/* 9/*
12 * Tracepoint for guest mode entry. 10 * Tracepoint for guest mode entry.
@@ -575,5 +573,10 @@ TRACE_EVENT(kvm_skinit,
575 573
576#endif /* _TRACE_KVM_H */ 574#endif /* _TRACE_KVM_H */
577 575
576#undef TRACE_INCLUDE_PATH
577#define TRACE_INCLUDE_PATH arch/x86/kvm
578#undef TRACE_INCLUDE_FILE
579#define TRACE_INCLUDE_FILE trace
580
578/* This part must be outside protection */ 581/* This part must be outside protection */
579#include <trace/define_trace.h> 582#include <trace/define_trace.h>