I'm having trouble with the kallsyms functions. Depending on which kernel tree I look at, I can either use kallsyms_lookup() or kallsyms_symbol_to_address(). I can't seem to find any documentation or examples on how to call these functions. For instance, what should I use as the first parameter to kallsyms_lookup()?
Does anyone have any code examples for these two functions that he can share?
-- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/