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 /virt/kvm | |
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 'virt/kvm')
-rw-r--r-- | virt/kvm/kvm_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 5bac6eb0f0a9..b152b23cd095 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -2279,7 +2279,6 @@ EXPORT_SYMBOL_GPL(kvm_init); | |||
2279 | 2279 | ||
2280 | void kvm_exit(void) | 2280 | void kvm_exit(void) |
2281 | { | 2281 | { |
2282 | tracepoint_synchronize_unregister(); | ||
2283 | kvm_exit_debug(); | 2282 | kvm_exit_debug(); |
2284 | misc_deregister(&kvm_dev); | 2283 | misc_deregister(&kvm_dev); |
2285 | kmem_cache_destroy(kvm_vcpu_cache); | 2284 | kmem_cache_destroy(kvm_vcpu_cache); |