lkml.org 
[lkml]   [2009]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] tracing/core: make the per cpu trace files in per cpu directories

* Ingo Molnar <mingo@elte.hu> wrote:

> * Frederic Weisbecker <fweisbec@gmail.com> 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


\
 
 \ /
  Last update: 2009-02-26 14:25    [W:0.081 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site