Breno Leitao <lei...@debian.org> writes: > Current xmon 'dt' command dumps the tracing buffer for all the CPUs, > which makes it very hard to read due to the fact that most of > powerpc machines currently have many CPUs.
> Other than that, the CPU > lines are interleaved in the ftrace log. That's because they're ordered by time. And the CPU number is included in each line. > This new option just dumps the ftrace buffer for the current CPU. This is still a good idea though :) > diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c > index 08e367e3e8c3..e0522f60f0ee 100644 > --- a/arch/powerpc/xmon/xmon.c > +++ b/arch/powerpc/xmon/xmon.c > @@ -234,6 +234,7 @@ Commands:\n\ > "\ > dr dump stream of raw bytes\n\ > dt dump the tracing buffers (uses printk)\n\ > + dtc dump the tracing buffers for current CPU (uses printk)\n\ Hopefully people won't be disappointed that this doesn't invoke dtc (Device Tree Compiler) in xmon :P cheers