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)
commit4125d012ff9dafe6624197d8dbd237d0916b3c35
tree0f740c518562d55d189aeca2225a38eb11beb10f
parent1ad35f6e2864d9b52fe9705ede1730468c25f692
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