[Crash-utility] multiple structs with the same name

Ben Myers bpm at sgi.com
Mon Jun 11 19:51:48 UTC 2012


Hi Folks,

   I have a second question related to crash.  If there are multiple instances
   of a structure in the kernel which have the same name, how do I print them
   out?

   Mark discovered that as of 7ff9554b there is also a new 'struct log' in
   printk.c.

crash> struct log
struct log {
    u64 ts_nsec;
    u16 len;
    u16 text_len;
    u16 dict_len;
    u16 level;
}
SIZE: 16

   XFS also has a 'struct log' in fs/xfs/xfs_log_priv.h.

   How do we choose which will print?

Thanks,
Ben




More information about the Crash-utility mailing list