perf, trace: Fix module leak
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 1 Sep 2010 10:58:43 +0000 (12:58 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Sep 2010 18:38:51 +0000 (20:38 +0200)
commit9cb627d5f38830ca19aa0dca52d1d3a633018bf7
tree38138b59d5b54c09314a01172586aa653cc3b528
parentda34634fd39958725310d2c30c9b4543945f968b
perf, trace: Fix module leak

Commit 1c024eca (perf, trace: Optimize tracepoints by using
per-tracepoint-per-cpu hlist to track events) caused a module
refcount leak.

Reported-And-Tested-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4C7E1F12.8030304@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_event_perf.c