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

From: Ingo Molnar
Date: Thu Feb 26 2009 - 08:22:52 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> * Frederic Weisbecker <fweisbec@xxxxxxxxx> 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.
>
> Applied to tip:tracing/ftrace, thanks Frederic!

The layout looks much more structured on a 16-way box now:

phoenix:/debug/tracing/per_cpu> ll
total 0
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu0
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu1
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu10
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu11
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu12
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu13
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu14
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu15
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu2
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu3
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu4
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu5
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu6
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu7
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu8
drwxr-xr-x 2 root root 0 2009-02-26 14:19 cpu9
phoenix:/debug/tracing/per_cpu> cd cpu0
phoenix:/debug/tracing/per_cpu/cpu0> ll
total 0
-r--r--r-- 1 root root 0 2009-02-26 14:19 trace
-r--r--r-- 1 root root 0 2009-02-26 14:19 trace_pipe
phoenix:/debug/tracing/per_cpu/cpu0>

Ingo
--
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/