summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-03-10 12:00:43 +0100
committerAvi Kivity <avi@redhat.com>2010-05-17 11:15:22 +0200
commit2ed152afc7ed61830b848b32936e1541a1a57799 (patch)
treee68c626fa21cd0ee63371d42700050ad39daecbb /virt
parentKVM: PPC: Do not create debugfs if fail to create vcpu (diff)
downloadlinux-2ed152afc7ed61830b848b32936e1541a1a57799.tar.xz
linux-2ed152afc7ed61830b848b32936e1541a1a57799.zip
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')
-rw-r--r--virt/kvm/kvm_main.c1
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);
void kvm_exit(void)
{
- tracepoint_synchronize_unregister();
kvm_exit_debug();
misc_deregister(&kvm_dev);
kmem_cache_destroy(kvm_vcpu_cache);