On Mon, 2011-01-03 at 22:32 +0800, loody wrote: > hi all: > > 2011/1/3 Sowmya Sridharan <sowmya.sridharan@xxxxxxx>: > > > > Hi, > > > > I was able to check it in 2.6.36 version of kernel, and it is defined in > > traps.c. > > http://lxr.linux.no/linux+v2.6.36/arch/mips/kernel/traps.c#L205 > > > > dump_stack() calls show_backtrace function which had been show_trace in the > > earlier kernel versions. [...] > > > > [...] > > Regards, > > Sowmya > thanks for your kind help, that is what I want. > previously, I only see the address instead of function name, but after > I select CONFIG_KALLSYMS as Y, I can see the function names also. > BTW, what is the mechanism that kernel take to find out the function name? Enabling the config option, it allows to build the symbol table for kernel. It uses /proc/kallsyms. Below links could help: http://tldp.org/HOWTO/Module-HOWTO/x627.html http://fixunix.com/kernel/134739-proc-kallsyms-symbol-size.html > Regards, > miloody -- Thanks, Nilesh _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies