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
effective_prio()
static
CONFIG_KALLSYMS_ALL=y is also required to see non-static variables, e.g.:
CONFIG_KALLSYMS_ALL=y
grep sysctl_sched_nr_migrate /proc/kallsyms
which is defined as:
const_debug unsigned int sysctl_sched_nr_migrate = 32;