[Crash-utility] Traversing hlist_node linked structures

Nikolay Borisov n.borisov at siteground.com
Tue Nov 10 10:37:57 UTC 2015


Hello,

I'd like to ask whether it's possible to traverse the chains of a
hashtable which is defined via the hashtable.h infrastructure? If
there is no support for this currently I guess crash has to be taught
to understand how to do the maths to extract the container structures
from embedded hlist_nodes, similar to how it does it for list_head
type of structs? And unless this is done doing the arithmetic manually
is the only way?

Regards,
Nikolay




More information about the Crash-utility mailing list