Kconfig 857 B

123456789101112131415161718192021222324252627
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config USERMODE_DRIVER
  3. bool
  4. default n
  5. menuconfig BPF_PRELOAD
  6. bool "Preload BPF file system with kernel specific program and map iterators"
  7. depends on BPF
  8. depends on BPF_SYSCALL
  9. # The dependency on !COMPILE_TEST prevents it from being enabled
  10. # in allmodconfig or allyesconfig configurations
  11. depends on !COMPILE_TEST
  12. select USERMODE_DRIVER
  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. if BPF_PRELOAD
  18. config BPF_PRELOAD_UMD
  19. tristate "bpf_preload kernel module with user mode driver"
  20. depends on CC_CAN_LINK
  21. depends on m || CC_CAN_LINK_STATIC
  22. default m
  23. help
  24. This builds bpf_preload kernel module with embedded user mode driver.
  25. endif