x86/UV: Add summary of cpu activity to UV NMI handler
authorMike Travis <travis@sgi.com>
Mon, 23 Sep 2013 21:25:02 +0000 (16:25 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 24 Sep 2013 07:02:03 +0000 (09:02 +0200)
commit3c121d9a21dc16ef030ad6ca3ebb159b5726fab9
treee443837b79530e506b4591ab3e1bdd68fe643ec0
parent0d12ef0c900078cc1f4e78dff2245521aa5d0c89
x86/UV: Add summary of cpu activity to UV NMI handler

The standard NMI handler dumps the states of all the cpus.  This
includes a full register dump and stack trace.  This can be way
more information than what is needed.  This patch adds a
"summary" dump that is basically a form of the "ps" command.  It
includes the symbolic IP address as well as the command field
and basic process information.

It is enabled when the nmi action is changed to "ips".

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Dimitri Sivanich <sivanich@sgi.com>
Reviewed-by: Hedi Berriche <hedi@sgi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Jason Wessel <jason.wessel@windriver.com>
Link: http://lkml.kernel.org/r/20130923212500.507922930@asylum.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/uv/uv_nmi.c