]> err.no Git - linux-2.6/commit
ftrace: modulize the number of CPU buffers
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 12 May 2008 19:21:00 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:51:46 +0000 (21:51 +0200)
commitab46428c6969d50ecf6f6e97b7a84abba6274368
tree47f5c413eece9aaf59cf958b0c7bbde8a2913bb5
parentc6caeeb142cd3a03c46107aac45c8effc02bbadb
ftrace: modulize the number of CPU buffers

Currently ftrace allocates a trace buffer for every possible CPU.
Work is being done to change it to only online CPUs and add hooks
to hotplug CPUS.

This patch lays out the infrastructure for such a change.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace.c