Re: [PATCH 1/2] tracing/core: introduce per cpu tracing files



On Wed, Feb 25, 2009 at 02:02:02PM +0100, Ingo Molnar wrote:

* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

Impact: split up tracing output per cpu

So this patch creates a new directory inside /debug/tracing
(provided you have a debugfs mountpoint on /debug). Inside
this directory, you will now find one trace_pipe file, one
trace file and one latency_trace file per cpu. Which means if
you have two cpus, you will have:

trace0
trace1
trace_pipe0
trace_pipe1

Very nice! I've applied your patches to tip:tracing/ftrace.

Could you please do one more tweak? The /debug/tracing/per_cpu/
directory looks a bit cluttered on a 16-way box. It would be a
nicer structure to have per CPU directories, i.e.:

/debug/tracing/per_cpu/cpu0/trace
/debug/tracing/per_cpu/cpu0/trace_pipe
/debug/tracing/per_cpu/cpu1/trace
/debug/tracing/per_cpu/cpu1/trace_pipe

etc.

Ah right, the only SMP machine I have has two CPU so I didn't
think about that.


Besides being easier to handle, this also makes it easy to
extend the list of per CPU attributes as well, without
cluttering the /debug/tracing/per_cpu/ directory.

Ingo


You're right, I will change that.

Thanks.

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



Relevant Pages

  • 100% CPU Usage and Generation of Huge trace file
    ... I am using Oracle 10.2.0.2.0 on a Windows Server 2000 box. ... When it gets to Exporting Public Synonyms, the CPU reaches 99% for the ... and again the trace file is generated. ... INSTANTIATION OBJECT: object=0AEEBF68 ...
    (comp.databases.oracle.server)
  • Re: Times do not add up in 10046 trace file
    ... In the summary section of the trace file below, ... is 113.84s of which 72.12s seconds was CPU time. ... OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS ... in the "Execute"? ...
    (comp.databases.oracle.server)
  • Re: 100% CPU Usage and Generation of Huge trace file
    ... I am using Oracle 10.2.0.2.0 on a Windows Server 2000 box. ... When it gets to Exporting Public Synonyms, the CPU reaches 99% for the ... and again the trace file is generated. ... Upgrade time strikes again!! ...
    (comp.databases.oracle.server)
  • Re: [PATCH 1/2] tracing/core: introduce per cpu tracing files
    ... (provided you have a debugfs mountpoint on /debug). ... trace file and one latency_trace file per cpu. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • Re: slow HP Ze4200 series notebook
    ... Yes, to extend battery life, laptops are underclockd. ... I am concerned about the CPU speed - ... | L1 Trace Cache 12K Instructions ...
    (microsoft.public.windowsxp.hardware)

Loading