Thread (4 messages) 4 messages, 4 authors, 2015-03-10

Difference between System.map and /proc/kallsyms

From: Nicholas Krause <hidden>
Date: 2015-03-10 02:13:24


On March 9, 2015 10:07:28 PM EDT, Arshad Hussain [off-list ref] wrote:
On 08-Mar-2015, at 11:00 pm, Jamal [off-list ref] wrote:
quoted
Hi..

After reading Documentation on System.map, i understood that ,
whenever 
quoted
an oops happens the following addresses  will be converted to its 
function name by klogd daemon using System.map.

Now when we have /proc/kallsyms which stores the symbol table in the 
kernel image itself.Then what is the need of System.map file??Is any 
process or daemon still using it??
My 2 cents. 

No.

However, Since kallsyms bloats the kernel and makes it larger
production kernel may not have it. 
In such case it will rely on System.map and ksymsoops for decoding oops
messages.
quoted
Regards,
Md.Jamal
Thanks 
quoted
MD. Jamal, 
You are 100 percent correct here adding features related to kernel debugging can easily bloat the kernel be a few gigabytes installed, easily terrible for any production where the storage space can be better used for various other applications or even important debugging log files. 
Nick 
quoted
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help