Re: Why module's global symbol cannot be displayed in crash?

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

 




----- Original Message -----
> Hi list,
> 
> I find in current 6.1.4 crash, when load module with "mod -S",
> only module's function symbol could be parsed out.
> 
> But for module's global variant, crash cannot find related symbol...
> Any idea for this?
> 

Without the debuginfo data from the module.ko.debug file, crash
gets all of its module symbol data from the kernel.  So it uses
what's available in the in-kernel /proc/kallsyms list plus the
information stored in each module's "struct module".  The 
store_module_symbols_v2() function does the work.  

If "mod -[sS]" is used, then crash has access to full debuginfo data
from the module.ko.debug file.  In that case, the store_load_module_symbols()
function does the work.

Dave

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