mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
Add KUnit test for riscv kprobes, mostly for simulated instructions. The test install kprobes into multiple sample functions, and check that these functions still return the expected magic value. This test can detect some kprobe bugs reported in the past (in Link:). Link: https://lore.kernel.org/linux-riscv/[email protected]/ Link: https://lore.kernel.org/stable/[email protected]/ Link: https://lore.kernel.org/linux-riscv/[email protected]/ Signed-off-by: Nam Cao <[email protected]> Tested-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paul Walmsley <[email protected]>
3 lines
104 B
Makefile
3 lines
104 B
Makefile
obj-$(CONFIG_RISCV_MODULE_LINKING_KUNIT) += module_test/
|
|
obj-$(CONFIG_RISCV_KPROBES_KUNIT) += kprobes/
|