How to print the details of a structure inside a structure having a list_head entry.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux