aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorViktor Malik <[email protected]>2023-03-30 10:20:01 +0000
committerAlexei Starovoitov <[email protected]>2023-04-06 04:31:11 +0000
commit34bf93472f8fb60b4189aa2872471017e739cf0a (patch)
tree07ca26e35f746b68e48b11c6e830b161a81c3644 /tools/bpf/bpftool/prog.c
parentMerge branch 'bpftool: Add inline annotations when dumping program CFGs' (diff)
downloadkernel-34bf93472f8fb60b4189aa2872471017e739cf0a.tar.gz
kernel-34bf93472f8fb60b4189aa2872471017e739cf0a.zip
kallsyms: move module-related functions under correct configs
Functions for searching module kallsyms should have non-empty definitions only if CONFIG_MODULES=y and CONFIG_KALLSYMS=y. Until now, only CONFIG_MODULES check was used for many of these, which may have caused complilation errors on some configs. This patch moves all relevant functions under the correct configs. Fixes: bd5314f8dd2d ("kallsyms, bpf: Move find_kallsyms_symbol_value out of internal header") Signed-off-by: Viktor Malik <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions