diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-03-10 19:00:43 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 12:15:22 +0300 |
commit | 2ed152afc7ed61830b848b32936e1541a1a57799 (patch) | |
tree | e68c626fa21cd0ee63371d42700050ad39daecbb /arch/x86/kvm/x86.c | |
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/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 2b34dc705cfb..74e70d975ffa 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -41,7 +41,7 @@ #include <linux/srcu.h> #include <linux/slab.h> #include <trace/events/kvm.h> -#undef TRACE_INCLUDE_FILE + #define CREATE_TRACE_POINTS #include "trace.h" |