powerpc/xmon: Update paca fields dumped in xmon
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 May 2018 09:47:20 +0000 (19:47 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 25 May 2018 02:04:37 +0000 (12:04 +1000)
The set of paca fields we dump in xmon has gotten somewhat out of
date. Update to add some recently added fields.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/xmon.c

index 56c83ea..c2e9270 100644 (file)
@@ -2425,6 +2425,16 @@ static void dump_one_paca(int cpu)
        DUMP(p, thread_idle_state, "%#-*x");
        DUMP(p, thread_mask, "%#-*x");
        DUMP(p, subcore_sibling_mask, "%#-*x");
+       DUMP(p, thread_sibling_pacas, "%-*px");
+       DUMP(p, requested_psscr, "%#-*llx");
+       DUMP(p, stop_sprs.pid, "%#-*llx");
+       DUMP(p, stop_sprs.ldbar, "%#-*llx");
+       DUMP(p, stop_sprs.fscr, "%#-*llx");
+       DUMP(p, stop_sprs.hfscr, "%#-*llx");
+       DUMP(p, stop_sprs.mmcr1, "%#-*llx");
+       DUMP(p, stop_sprs.mmcr2, "%#-*llx");
+       DUMP(p, stop_sprs.mmcra, "%#-*llx");
+       DUMP(p, dont_stop.counter, "%#-*x");
 #endif
 
        DUMP(p, accounting.utime, "%#-*lx");