aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2009-10-03 15:08:54 +0200
committerFrederic Weisbecker <[email protected]>2009-10-05 10:57:56 +0200
commit75fb4090b39a3d7bf9ac77a28665c991ec5eaadc (patch)
tree127abba2cc4382cd7f70e4867184e5af0b275748 /lib/dynamic_debug.c
parentfe8e5b5a60f8427940d33b205e127aecfb0bca10 (diff)
tracing: Use free_percpu instead of kfree
In the event->profile_enable() failure path, we release the per cpu buffers using kfree which is wrong because they are per cpu pointers. Although free_percpu only wraps kfree for now, that may change in the future so lets use the correct way. Reported-by: Paul Mackerras <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Li Zefan <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions