Kconfig (cdd38c5f1ce4398ec58fec95904b75824daab7b5) Kconfig (cb80ddc67152e72f28ff6ea8517acdf875d7381d)
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

--- 4 unchanged lines hidden (view full) ---

13 select USERMODE_DRIVER
14 help
15 This builds kernel module with several embedded BPF programs that are
16 pinned into BPF FS mount point as human readable files that are
17 useful in debugging and introspection of BPF programs and maps.
18
19if BPF_PRELOAD
20config BPF_PRELOAD_UMD
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

--- 4 unchanged lines hidden (view full) ---

13 select USERMODE_DRIVER
14 help
15 This builds kernel module with several embedded BPF programs that are
16 pinned into BPF FS mount point as human readable files that are
17 useful in debugging and introspection of BPF programs and maps.
18
19if BPF_PRELOAD
20config BPF_PRELOAD_UMD
21 tristate "bpf_preload kernel module with user mode driver"
22 depends on CC_CAN_LINK
23 depends on m || CC_CAN_LINK_STATIC
21 tristate "bpf_preload kernel module"
24 default m
25 help
22 default m
23 help
26 This builds bpf_preload kernel module with embedded user mode driver.
24 This builds bpf_preload kernel module with embedded BPF programs for
25 introspection in bpffs.
27endif
26endif