summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/ctagmod/Kconfig1
-rw-r--r--lib/Kconfig.debug10
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/ctagmod/Kconfig b/drivers/staging/ctagmod/Kconfig
index f267ffc6afbb..e66394482888 100644
--- a/drivers/staging/ctagmod/Kconfig
+++ b/drivers/staging/ctagmod/Kconfig
@@ -2,6 +2,7 @@
config CTAGMOD
tristate "Code tagging test module"
depends on CODE_TAGGING
+ default m
help
Code tagging test module.
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"