tracing: Replace the static global per_cpu arrays with allocated per_cpu
authorSteven Rostedt <srostedt@redhat.com>
Mon, 6 Aug 2012 20:24:11 +0000 (16:24 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:34:43 +0000 (00:34 -0400)
commita7603ff4b5f7e26e67af82a4c3d05eeeb8d7b160
tree2d348aeb190cf6c7ba43f97419b291251d6e04c5
parentccb469a198cffac94a7eea0b69f715f06e2ddf15
tracing: Replace the static global per_cpu arrays with allocated per_cpu

The global and max-tr currently use static per_cpu arrays for the CPU data
descriptors. But in order to get new allocated trace_arrays, they need to
be allocated per_cpu arrays. Instead of using the static arrays, switch
the global and max-tr to use allocated data.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_branch.c
kernel/trace/trace_functions.c
kernel/trace/trace_functions_graph.c
kernel/trace/trace_irqsoff.c
kernel/trace/trace_kdb.c
kernel/trace/trace_mmiotrace.c
kernel/trace/trace_sched_switch.c
kernel/trace/trace_sched_wakeup.c