LoongArch: Add kretprobes support
authorTiezhu Yang <yangtiezhu@loongson.cn>
Sat, 25 Feb 2023 07:52:57 +0000 (15:52 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Feb 2023 14:12:17 +0000 (22:12 +0800)
commit3f5536860086d906b01ec5ed68cf50c7edcc40af
tree542900b59d0c7f793bb979e0b728dfbbccba0bb2
parent6d4cc40fb5f58147defc6c0e9d86e6232fe31616
LoongArch: Add kretprobes support

Use the generic kretprobe trampoline handler to add kretprobes support
for LoongArch.

Tested-by: Jeff Xie <xiehuan09@gmail.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/Kconfig
arch/loongarch/include/asm/kprobes.h
arch/loongarch/kernel/Makefile
arch/loongarch/kernel/kprobes.c
arch/loongarch/kernel/kprobes_trampoline.S [new file with mode: 0644]