tracing: make the function profiler per cpu
commitcafb168a1c92e4c9e1731fe3d666c39611762c49
authorSteven Rostedt <srostedt@redhat.com>
Wed, 25 Mar 2009 00:50:39 +0000 (24 20:50 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Wed, 25 Mar 2009 03:41:10 +0000 (24 23:41 -0400)
tree536d4bb6d33499d746ffb674126d2983e5d6e361
parent0706f1c48ca8a7ab478090b4e38f2e578ae2bfe0
tracing: make the function profiler per cpu

Impact: speed enhancement

By making the function profiler record in per cpu data we not only
get better readings, avoid races, we also do not have to take any
locks.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/ftrace.c