xref: /linux/kernel/bpf/preload/Kconfig (revision d11f6cd1bb4a416b4515702d020a7480ac667f0f)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig 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
14if BPF_PRELOAD
15config 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.
21endif
22