diff options
author | Suren Baghdasaryan <surenb@google.com> | 2022-07-31 13:19:09 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2022-08-30 20:00:20 +0000 |
commit | aca7d413bd10c119e753c0018a97c29e19da03cc (patch) | |
tree | 4e2e7f2917057fd303c4666d4e9b9f28ded79a5d | |
parent | 2c6a7c53b2e0ade59d2f33028c163ee6b27550e6 (diff) |
TESTING: set required configurations and request some context capturescodetags_v0
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
-rw-r--r-- | drivers/staging/ctagmod/Kconfig | 1 | ||||
-rw-r--r-- | lib/Kconfig.debug | 10 |
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" |