linux/arch/loongarch
Qing Zhang 356bd6f236 LoongArch: ptrace: Add function argument access API
Add regs_get_argument() which returns N th argument of the function
call, This enables ftrace kprobe events to access kernel function
arguments via $argN syntax for later use.

E.g.:
echo 'p bio_add_page arg1=$arg1' > kprobe_events
bash: echo: write error: Invalid argument

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2023-02-25 22:12:17 +08:00
..
boot loongarch: efi: enable generic EFI compressed boot 2022-09-20 09:50:31 +02:00
configs LoongArch: kdump: Add single kernel image implementation 2023-02-25 22:12:17 +08:00
include LoongArch: ptrace: Add function argument access API 2023-02-25 22:12:17 +08:00
kernel LoongArch: ptrace: Expose hardware breakpoints to debuggers 2023-02-25 22:12:17 +08:00
lib LoongArch: Use alternative to optimize libraries 2022-12-14 08:36:11 +08:00
mm LoongArch: Add la_abs macro implementation 2023-02-25 22:12:16 +08:00
net LoongArch: BPF: Add BPF exception tables 2022-12-14 08:36:11 +08:00
pci LoongArch: Add FDT booting support from efi system table 2022-12-14 08:41:53 +08:00
power LoongArch: Add JUMP_VIRT_ADDR macro implementation to avoid using la.abs 2023-02-25 22:12:16 +08:00
vdso LoongArch: Fix build warnings in VDSO 2022-08-25 19:34:59 +08:00
Kbuild LoongArch: Add BPF JIT support 2022-10-12 16:36:20 +08:00
Kconfig LoongArch: ptrace: Add function argument access API 2023-02-25 22:12:17 +08:00
Kconfig.debug LoongArch: Add prologue unwinder support 2022-08-12 13:10:11 +08:00
Makefile LoongArch: kdump: Add single kernel image implementation 2023-02-25 22:12:17 +08:00