[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 03:50:25 AEDT 2015


Sorry, rookie mistake: last minute changes without checking compile.

Here's is the corrected patch.



On 11/10/2015 09:31 AM, Douglas Miller wrote:
> 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
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151110/3ee986da/attachment.html>
-------------- 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: 2133 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151110/3ee986da/attachment.bin>


More information about the Linuxppc-dev mailing list