summaryrefslogtreecommitdiff
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2022-07-31 13:19:09 -0700
committerSuren Baghdasaryan <surenb@google.com>2022-08-30 20:00:20 +0000
commitaca7d413bd10c119e753c0018a97c29e19da03cc (patch)
tree4e2e7f2917057fd303c4666d4e9b9f28ded79a5d /lib/Kconfig.debug
parent2c6a7c53b2e0ade59d2f33028c163ee6b27550e6 (diff)
TESTING: set required configurations and request some context capturescodetags_v0
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
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"