diff options
author | Geliang Tang <[email protected]> | 2022-05-19 16:30:11 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-05-20 15:29:00 -0700 |
commit | d3294cb1e06d70a689924792c2acb897eac7d781 (patch) | |
tree | 52f35fdf7432144ac1b6bbc0bc6698b359db2bf8 /net/lapb/lapb_timer.c | |
parent | 3bc253c2e652cf5f12cd8c00d80d8ec55d67d1a7 (diff) |
selftests/bpf: Enable CONFIG_IKCONFIG_PROC in config
CONFIG_IKCONFIG_PROC is required by BPF selftests, otherwise we get
errors like this:
libbpf: failed to open system Kconfig
libbpf: failed to load object 'kprobe_multi'
libbpf: failed to load BPF skeleton 'kprobe_multi': -22
It's because /proc/config.gz is opened in bpf_object__read_kconfig_file()
in tools/lib/bpf/libbpf.c:
file = gzopen("/proc/config.gz", "r");
So this patch enables CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC in
tools/testing/selftests/bpf/config.
Suggested-by: Mat Martineau <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions