| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
menuconfig BPF_PRELOAD |
| 3 |
bool "Preload BPF file system with kernel specific program and map iterators" |
| 4 |
depends on BPF |
| 5 |
depends on BPF_SYSCALL |
| 6 |
# The dependency on !COMPILE_TEST prevents it from being enabled |
| 7 |
# in allmodconfig or allyesconfig configurations |
| 8 |
depends on !COMPILE_TEST |
| 9 |
help |
| 10 |
This builds kernel module with several embedded BPF programs that are |
| 11 |
pinned into BPF FS mount point as human readable files that are |
| 12 |
useful in debugging and introspection of BPF programs and maps. |
| 13 |
|
| 14 |
if BPF_PRELOAD |
| 15 |
config BPF_PRELOAD_UMD |
| 16 |
tristate "bpf_preload kernel module" |
| 17 |
default m |
| 18 |
help |
| 19 |
This builds bpf_preload kernel module with embedded BPF programs for |
| 20 |
introspection in bpffs. |
| 21 |
endif |