[Crash-utility] How to print the details of a structure inside a structure having a list_head entry.

Sachin Boban sbjk91 at gmail.com
Mon Feb 10 05:54:16 UTC 2014


I need a help in using crash utility.

I have a structure like this

struct a {
    ...
    struct task_struct task;
    ...
    struct list_head list;
    ...
}

It is possible to get the address of the task structure using *-s
a.task*option in the *list
*command. But what if i want to get the value of a member inside task, say
*task.comm*? Is it possible to make the list command to print to it
directly?
-- 
Regards,
Sachin Boban
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20140210/3dc7ec78/attachment.htm>


More information about the Crash-utility mailing list