aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2019-10-17 15:09:08 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-11-30 10:52:46 +0100
commitbadbf39790798283f2424828e7b7bec3962f1e02 (patch)
tree4d45c04e16e76ca19b8e73363a3b51ab9ac35eb3 /arch/s390/Kconfig
parents390/unwind: always inline get_stack_pointer (diff)
downloadlinux-dev-badbf39790798283f2424828e7b7bec3962f1e02.tar.xz
linux-dev-badbf39790798283f2424828e7b7bec3962f1e02.zip
s390/unwind: add a test for the internal API
unwind_for_each_frame can take at least 8 different sets of parameters. Add a test to make sure they all are handled in a sane way. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Co-developed-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to '')
-rw-r--r--arch/s390/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index f0df9e48e651..2528eb9d01fb 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -1018,3 +1018,17 @@ config S390_GUEST
the KVM hypervisor.
endmenu
+
+menu "Selftests"
+
+config S390_UNWIND_SELFTEST
+ def_tristate n
+ prompt "Test unwind functions"
+ help
+ This option enables s390 specific stack unwinder testing kernel
+ module. This option is not useful for distributions or general
+ kernels, but only for kernel developers working on architecture code.
+
+ Say N if you are unsure.
+
+endmenu