Does kallsyms have all the symbol of kernel functions?

前端 未结 3 1970
小蘑菇
小蘑菇 2021-01-03 06:11

In the Linux kernel I want to probe the kernel function effective_prio(). It defined as static. When I go to search the symbol of it in the

3条回答
  •  不知归路
    2021-01-03 07:14

    CONFIG_KALLSYMS_ALL=y is also required to see non-static variables, e.g.:

    grep sysctl_sched_nr_migrate /proc/kallsyms
    

    which is defined as:

    const_debug unsigned int sysctl_sched_nr_migrate = 32;
    

提交回复
热议问题