multiple structs with the same name

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

 



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

--
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