On 9/25/06, chen free <dits365@xxxxxxxxx> wrote:
Hi, buddies, I saw the "init_task" symbol is exported in kernel source: ========================================= struct task_struct init_task = INIT_TASK(init_task); EXPORT_SYMBOL(init_task); ========================================= But when running, I can't find it in /proc/kallsyms. Why? thanks BRs, DiTS -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
Have you considered #make ctags as doing the full source index is usually a great way to research such a question. No idea why it's not in /proc/kallysms. A better question might be "how does stuff get into /proc/kallsyms?". -- Christopher Smith Pursuer of knowledge -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/