2020-08-19 07:27:58 +03: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 22:51:09 +03:00
|
|
|
depends on BPF_SYSCALL
|
2020-08-26 01:23:46 +03:00
|
|
|
# The dependency on !COMPILE_TEST prevents it from being enabled
|
|
|
|
# in allmodconfig or allyesconfig configurations
|
|
|
|
depends on !COMPILE_TEST
|
2020-08-19 07:27:58 +03: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-10 02:20:01 +03:00
|
|
|
tristate "bpf_preload kernel module"
|
2020-08-19 07:27:58 +03:00
|
|
|
default m
|
|
|
|
help
|
2022-02-10 02:20:01 +03:00
|
|
|
This builds bpf_preload kernel module with embedded BPF programs for
|
|
|
|
introspection in bpffs.
|
2020-08-19 07:27:58 +03:00
|
|
|
endif
|