]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - lib/Kconfig.debug
net: filter: BPF testsuite
[mirror_ubuntu-jammy-kernel.git] / lib / Kconfig.debug
index 140b66a874c1d5e9a069eade2fa6aebc6d65013d..423ca319a5f8f099355ee5999063fac7efb9c3fd 100644 (file)
@@ -505,8 +505,7 @@ config DEBUG_VM_RB
        bool "Debug VM red-black trees"
        depends on DEBUG_VM
        help
-         Enable this to turn on more extended checks in the virtual-memory
-         system that may impact performance.
+         Enable VM red-black tree debugging information and extra validations.
 
          If unsure, say N.
 
@@ -1621,6 +1620,19 @@ config TEST_USER_COPY
 
          If unsure, say N.
 
+config TEST_BPF
+       tristate "Test BPF filter functionality"
+       default n
+       depends on m
+       help
+         This builds the "test_bpf" module that runs various test vectors
+         against the BPF interpreter or BPF JIT compiler depending on the
+         current setting. This is in particular useful for BPF JIT compiler
+         development, but also to run regression tests against changes in
+         the interpreter code.
+
+         If unsure, say N.
+
 source "samples/Kconfig"
 
 source "lib/Kconfig.kgdb"