]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing/core: make the per cpu trace files in per cpu directories
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 25 Feb 2009 23:41:38 +0000 (00:41 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 13:04:08 +0000 (14:04 +0100)
commit8656e7a2fa6afcd8682990f804a2a9674568738f
tree4577aacda59cec3e71bc0cd97c0f18c823b5743e
parentf4abfb8d0da70e436013e5799338357e1e6a0832
tracing/core: make the per cpu trace files in per cpu directories

Impact: restructure the VFS layout of per CPU trace buffers

The per cpu trace files are all in a single directory:
/debug/tracing/per_cpu. In case of a large number of cpu, the
content of this directory becomes messy so we create now one
directory per cpu inside /debug/tracing/per_cpu which contain
each their own trace_pipe and trace files.

Ie:

 /debug/tracing$ ls -R per_cpu
 per_cpu:
 cpu0  cpu1

 per_cpu/cpu0:
 trace  trace_pipe

 per_cpu/cpu1:
 trace  trace_pipe

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c