diff options
| author | 2026-08-07 19:24:29 -0600 | |
|---|---|---|
| committer | 2026-08-07 19:24:29 -0600 | |
| commit | 0d4a777c4cdaf6d55aa337a3c9fb825fd03fd371 (patch) | |
| tree | d2b80bb7f7d1003f75dd634d53178b45669a23af /scripts/Makefile.thinlto | |
| parent | riscv: probes: simulate c.jal instruction (diff) | |
riscv: kprobes: add test case for c.jal instruction simulation
Add a test case validating that kprobes correctly simulates the
c.jal instruction on RV32.
The test uses two probe points: a forward c.jal and a backward
c.jal, and verifies that the containing function returns the
expected magic value KPROBE_TEST_MAGIC after kprobe interception.
Co-developed-by: Xiaofeng Yuan <xiaofengmian@163.com>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Xiaofeng Yuan <xiaofengmian@163.com>
Reviewed-by: Charlie Jenkins <thecharlesjenkins@gmail.com>
Tested-by: Charlie Jenkins <thecharlesjenkins@gmail.com>
Link: https://patch.msgid.link/20260701081033.49871-3-xiaofengmian@163.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
