aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2022-02-03 00:49:41 +0100
committerVasily Gorbik <gor@linux.ibm.com>2022-03-01 21:05:09 +0100
commit9ba142f472c1e4ec514f3bad1134b6b6ad8f6c13 (patch)
tree2f0e9877eb0de5e59ccf5a1cef4a3aa4c4c46282 /drivers/s390/crypto
parents390/test_unwind: add ftrace test (diff)
downloadlinux-dev-9ba142f472c1e4ec514f3bad1134b6b6ad8f6c13.tar.xz
linux-dev-9ba142f472c1e4ec514f3bad1134b6b6ad8f6c13.zip
s390/test_unwind: fix and extend kprobes test
Running kprobe test on a kernel built with clang 14 didn't actually trigger pgm_pre_handler() and no unwinder code was called. Even though do_report_trap() is a global symbol, clang inlined it in several local functions including illegal_op() handler, so that kprobbing a global symbol didn't have a desired effect. To achieve the same test result (unwinding from a program check handler) introduce a local function and probe an instruction in the middle, so that kprobe doesn't take KPROBE_ON_FTRACE path. While at it, add another test for KPROBE_ON_FTRACE. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
0 files changed, 0 insertions, 0 deletions