Re: [PATCH 1/2] tracing/core: make the per cpu trace files in percpu directories

From: Frederic Weisbecker
Date: Thu Feb 26 2009 - 02:07:11 EST


On Thu, Feb 26, 2009 at 12:41:38AM +0100, Frederic Weisbecker wrote:
> Impact: scale per cpu tracing
>
> 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:
>
> nobody@nowhere:/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@xxxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>


Oh, I forgot to mention: they apply on top of latest -tip + the ftrace_bprintk 3 patches.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/