diff options
| author | Steven Rostedt <srostedt@redhat.com> | 2012-08-06 16:24:11 -0400 | 
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-15 00:34:43 -0400 | 
| commit | a7603ff4b5f7e26e67af82a4c3d05eeeb8d7b160 (patch) | |
| tree | 2d348aeb190cf6c7ba43f97419b291251d6e04c5 /kernel/trace/trace.h | |
| parent | ccb469a198cffac94a7eea0b69f715f06e2ddf15 (diff) | |
| download | olio-linux-3.10-a7603ff4b5f7e26e67af82a4c3d05eeeb8d7b160.tar.xz olio-linux-3.10-a7603ff4b5f7e26e67af82a4c3d05eeeb8d7b160.zip  | |
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>
Diffstat (limited to 'kernel/trace/trace.h')
| -rw-r--r-- | kernel/trace/trace.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index b80fbcf70af..15ccd7cd156 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -186,7 +186,7 @@ struct trace_array {  	struct list_head	systems;  	struct list_head	events;  	struct task_struct	*waiter; -	struct trace_array_cpu	*data[NR_CPUS]; +	struct trace_array_cpu	*data;  };  enum {  |