• F
    tracing/core: make the per cpu trace files in per cpu directories · 8656e7a2
    Frederic Weisbecker 提交于
    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: NFrederic 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: NIngo Molnar <mingo@elte.hu>
    8656e7a2
trace.c 78.4 KB