Dear Friends,
I am using CentOS-5.5 Final, kernel-2.6.18-238.9.1.el5
I looking for an address of given symbol in /proc/kallsyms in my kernel module.
I use "kallsyms_lookup_name" to do the same.
But when I compile the module, it gives me below error.
Quote:
WARNING: "kallsyms_lookup_name" [/dev/mod/syms.ko] undefined!
|
the below is my kernel config file
Quote:
cat /boot/config-2.6.18-238.9.1.el5 | grep CONFIG_KALLSYMS
===================================================
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_EXTRA_PASS=y
|
I have gone through the kernel source, The function
kallsyms_lookup_name is exported in
kernel/kallsysms.c file.
How can I resolve this ? Is there any other way to get /proc/kallsyms symbol address in kernel module ?