0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config USERMODE_DRIVER
0003 bool
0004 default n
0005
0006 menuconfig BPF_PRELOAD
0007 bool "Preload BPF file system with kernel specific program and map iterators"
0008 depends on BPF
0009 depends on BPF_SYSCALL
0010 # The dependency on !COMPILE_TEST prevents it from being enabled
0011 # in allmodconfig or allyesconfig configurations
0012 depends on !COMPILE_TEST
0013 select USERMODE_DRIVER
0014 help
0015 This builds kernel module with several embedded BPF programs that are
0016 pinned into BPF FS mount point as human readable files that are
0017 useful in debugging and introspection of BPF programs and maps.
0018
0019 if BPF_PRELOAD
0020 config BPF_PRELOAD_UMD
0021 tristate "bpf_preload kernel module"
0022 default m
0023 help
0024 This builds bpf_preload kernel module with embedded BPF programs for
0025 introspection in bpffs.
0026 endif