Skip to content
Commit 7b0a0964 authored by Haoran Jiang's avatar Haoran Jiang Committed by Huacai Chen
Browse files

LoongArch: Replace kretprobe with rethook

This is an adaptation of commit f3a112c0 ("x86,rethook,kprobes:
Replace kretprobe with rethook on x86") and commit b57c2f12 ("riscv:
add riscv rethook implementation") to LoongArch. Mainly refer to commit
b57c2f12

 ("riscv: add riscv rethook implementation").

Replaces the kretprobe code with rethook on LoongArch. With this patch,
kretprobe on LoongArch uses the rethook instead of kretprobe specific
trampoline code.

Signed-off-by: default avatarHaoran Jiang <jianghaoran@kylinos.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent f02644e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment