Il 06/10/2010 18.50, Usman S. Ansari wrote:
--- On Wed, 10/6/10, luca ellero<lroluk@xxxxxxxxx> wrote:
I have seen kernel symbols (talking in general, not sys_call_table),
appear in /proc/kallsyms in some version of kernel and not in others.
Symbol definition is same in both kernel revs.
What makes symbol appear or not in /proc/kallsym
It's a configuration option when you compile the kernel: CONFIG_KALLSYMS
Not talking about /proc/kallsym file in general, but individual symbols
which sometime show up and sometime does not.
Maybe you should also add CONFIG_KALLSYMS_ALL
Let me give you an example.
Symbol inet_family_ops, appears in both 2.6.11 and 2.6.23 kernels. In both instances it has same definition
static struct net_proto_family inet_family_ops = {
But, it appears in 2.6.23's /proc/kallsym and not in 2.6.11
If you follow my previous suggestion (add CONFIG_KALLSYMS_ALL) your
symbol will nicely appear in /proc/kallsysm. Recent kernels (if you
enable only CONFIG_KALLSYMS and not CONFIG_KALLSYMS_ALL) show only
functions names in /proc/kallsysm and not data or rodata symbols.
regards
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ