Difference between System.map and /proc/kallsyms

Nicholas Krause xerofoify at gmail.com
Mon Mar 9 22:13:24 EDT 2015



On March 9, 2015 10:07:28 PM EDT, Arshad Hussain <arshad.super at gmail.com> wrote:
>
>On 08-Mar-2015, at 11:00 pm, Jamal <md.jamalmohiuddin at gmail.com> wrote:
>
>> Hi..
>> 
>> After reading Documentation on System.map, i understood that ,
>whenever 
>> 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.
>
>> 
>> Regards,
>> Md.Jamal
>
>Thanks 
>
>> 
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 
>> _______________________________________________
>> 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.



More information about the Kernelnewbies mailing list