summaryrefslogtreecommitdiff
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index b0f86643b8f0..fb7415d61816 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1001,6 +1001,16 @@ config SLAB_ALLOC_TAGGING
initiated at that code location. The mechanism can be used to track
memory leaks with a low performance impact.
+config CODE_TAG_TESTING
+ bool "Enable code tag testing"
+ default y
+ select MEMCG
+ select PAGE_ALLOC_TAGGING
+ select SLAB_ALLOC_TAGGING
+ select STAGING
+ help
+ Enable to test code tagging.
+
source "lib/Kconfig.kasan"
source "lib/Kconfig.kfence"