diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2021-09-09 20:59:17 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-04 09:49:37 +0200 |
commit | d340d28a968ec479d0ed3c38ab716ed821d82ad8 (patch) | |
tree | 279dc018a3f65ac79c59e4c8d03d5a9eeeaef9c1 /arch/s390/Kconfig | |
parent | f768a20c0a6e5f2396b9ab99bbbfd39d91228df9 (diff) |
kprobes: add testcases for s390
Add a few testcases to make sure that it's not possible to place
a kprobe in the mid of an instruction on s390.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r-- | arch/s390/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index b86de61b8caa..4d63662a919d 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -946,4 +946,16 @@ config S390_UNWIND_SELFTEST Say N if you are unsure. +config S390_KPROBES_SANITY_TEST + def_tristate n + prompt "Enable s390 specific kprobes tests" + depends on KPROBES + depends on KUNIT + help + This option enables an s390 specific kprobes test 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 |