]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xmon: Dump ftrace buffers for the current CPU only
authorBreno Leitao <leitao@debian.org>
Wed, 2 Aug 2017 20:14:05 +0000 (17:14 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Aug 2017 11:57:56 +0000 (21:57 +1000)
commit264040485a197271a5a4ad03187dc4f1b879196d
tree0f740c518562d55d189aeca2225a38eb11beb10f
parent900c041b94ada8ce67b228394368069e77a90adb
powerpc/xmon: Dump ftrace buffers for the current CPU only

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.

This new option just dumps the ftrace buffer for the current CPU.

Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/xmon.c