Hi, everyone
How can I convert function pointer to function symbol to print out the
name of the function?
For example, in console_init(), I'd like to print out the function name
of (*call)() using printk().
call = __con_initcall_start;
while (call < __con_initcall_end) {
(*call)();
call++;
}
Is it only way to find out the function symbol
that compare the address of call with those in System.map?
If there is other methods to do it, please let me know them.
Thanks in advance.
Regards,
J.H.Kim
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ