linux/arch/powerpc/xmon
Michael Ellerman 56144ec7c9 powerpc/xmon: Add 'dt' command to dump trace buffers
There is a nice interface for asking ftrace to dump all its tracing
buffers. The only down side for use in xmon is that it uses printk.
Depending on circumstances printk may not work when in xmon, but it also
may, so add a 'dt' command which dumps the ftrace buffers, and add a
note to the help to mentiont that it uses printk.

Calling this routine also disables tracing, which is problematic if you
return from xmon and expect the system to keep operating normally. So
after we do the dump turn tracing back on.

Both functions already have nop versions defined for when ftrace is not
enabled, so we don't need any extra #ifdefs.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-11-25 14:30:27 +11:00
..
ansidecl.h
dis-asm.h
Makefile powerpc/xmon: Fix SPR read/write commands and add command to dump SPRs 2016-05-11 21:54:07 +10:00
nonstdio.c powerpc/xmon: Paged output for paca display 2015-10-15 20:32:01 +11:00
nonstdio.h powerpc/xmon: Paged output for paca display 2015-10-15 20:32:01 +11:00
ppc-dis.c powerpc: Move cpu_has_feature() to a separate file 2016-08-01 11:15:03 +10:00
ppc-opc.c
ppc.h
spr_access.S powerpc/xmon: Don't use ld on 32-bit 2016-09-13 17:37:02 +10:00
spu-dis.c
spu-insns.h
spu-opc.c
spu.h
xmon.c powerpc/xmon: Add 'dt' command to dump trace buffers 2016-11-25 14:30:27 +11:00