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