2020-08-18 21:27:58 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config USERMODE_DRIVER
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
menuconfig BPF_PRELOAD
|
|
|
|
bool "Preload BPF file system with kernel specific program and map iterators"
|
|
|
|
depends on BPF
|
2020-11-05 11:51:09 -08:00
|
|
|
depends on BPF_SYSCALL
|
2020-08-25 15:23:46 -07:00
|
|
|
# The dependency on !COMPILE_TEST prevents it from being enabled
|
|
|
|
# in allmodconfig or allyesconfig configurations
|
|
|
|
depends on !COMPILE_TEST
|
2020-08-18 21:27:58 -07:00
|
|
|
select USERMODE_DRIVER
|
|
|
|
help
|
|
|
|
This builds kernel module with several embedded BPF programs that are
|
|
|
|
pinned into BPF FS mount point as human readable files that are
|
|
|
|
useful in debugging and introspection of BPF programs and maps.
|
|
|
|
|
|
|
|
if BPF_PRELOAD
|
|
|
|
config BPF_PRELOAD_UMD
|
2022-02-09 15:20:01 -08:00
|
|
|
tristate "bpf_preload kernel module"
|
2020-08-18 21:27:58 -07:00
|
|
|
default m
|
|
|
|
help
|
2022-02-09 15:20:01 -08:00
|
|
|
This builds bpf_preload kernel module with embedded BPF programs for
|
|
|
|
introspection in bpffs.
|
2020-08-18 21:27:58 -07:00
|
|
|
endif
|