Re: proper ksymoops tracing

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

 



 
> My question is really simple: How can I read the correct location in
> the source where the oops occured out of my ksymoops output ?

 Are you asking how to find the source line number based on ksymoops
output? There is no foolproof way (on x86 at least). Unless the kernel
is compiled with '-g', line number information isn't stored anywhere.

Here is what I do: disassemble the function using gdb, look for other
kernel symbols aronud the offset where the oops occured (like call to
another function, reference to a global variable, etc.) and try to
match it up with the source. Works for me everytime.


-Ravi.


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux