From aca7d413bd10c119e753c0018a97c29e19da03cc Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Sun, 31 Jul 2022 13:19:09 -0700 Subject: TESTING: set required configurations and request some context captures Signed-off-by: Suren Baghdasaryan --- drivers/staging/ctagmod/Kconfig | 1 + lib/Kconfig.debug | 10 ++++++++++ 2 files changed, 11 insertions(+) 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" -- cgit v1.2.3