diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2019-10-17 15:09:08 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-11-30 10:52:46 +0100 |
commit | badbf39790798283f2424828e7b7bec3962f1e02 (patch) | |
tree | 4d45c04e16e76ca19b8e73363a3b51ab9ac35eb3 /arch/s390/Kconfig | |
parent | adcfb8cdc910bdd0b5d52d2ba88103af93dc43d3 (diff) | |
download | linux-badbf39790798283f2424828e7b7bec3962f1e02.tar.gz linux-badbf39790798283f2424828e7b7bec3962f1e02.tar.bz2 linux-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 'arch/s390/Kconfig')
-rw-r--r-- | arch/s390/Kconfig | 14 |
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 |