[xmon PATCH 1/1] RFC: Add xmon command to dump process/task similar to ps(1)

Douglas Miller dougmill at linux.vnet.ibm.com
Wed Nov 11 02:31:14 AEDT 2015


RFC: Not sure if I need locking when accessing task structs from xmon. 
Please comment.

I found this new xmon command indispensable while debugging a KDUMP 
problem. It dumps some task information similar to the ps(1) command, 
plus includes the kernel stack pointer for use with "t" traceback 
command. In the case of KDUMP on PKVM, it was running single-CPU so 
locking issues would likely not have shown up. Certainly if xmon runs in 
an environment where some CPUs are still running tasks, this information 
can be very fleeting.

Let me know what else needs to be done to make this patch ready.

Thanks,
Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-xmon-command-to-dump-process-task-similar-to-ps-.patch
Type: text/x-patch
Size: 2093 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151110/e2a4e983/attachment.bin>


More information about the Linuxppc-dev mailing list