summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorNam Cao <namcao@linutronix.de>2026-08-07 19:24:29 -0600
committerPaul Walmsley <pjw@kernel.org>2026-08-07 19:24:29 -0600
commit0d4a777c4cdaf6d55aa337a3c9fb825fd03fd371 (patch)
treed2b80bb7f7d1003f75dd634d53178b45669a23af /scripts/patch-kernel
parent540ad5ad05a5945575b154caedfcdc08ed75b810 (diff)
downloadlinux-0d4a777c4cdaf6d55aa337a3c9fb825fd03fd371.tar.gz
linux-0d4a777c4cdaf6d55aa337a3c9fb825fd03fd371.zip
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/patch-kernel')
0 files changed, 0 insertions, 0 deletions