linux/arch/loongarch
Qing Zhang ac7127e1cc LoongArch/ftrace: Add HAVE_DYNAMIC_FTRACE_WITH_ARGS support
Allow for arguments to be passed in to ftrace_regs by default. If this
is set, then arguments and stack can be found from the pt_regs.

1. HAVE_DYNAMIC_FTRACE_WITH_ARGS don't need special hook for graph
tracer entry point, but instead we can use graph_ops::func function to
install the return_hooker.

2. Livepatch requires this option in the future.

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2022-12-14 08:41:53 +08:00
..
boot loongarch: efi: enable generic EFI compressed boot 2022-09-20 09:50:31 +02:00
configs LoongArch: Update Loongson-3 default config file 2022-10-12 16:36:23 +08:00
include LoongArch/ftrace: Add HAVE_DYNAMIC_FTRACE_WITH_ARGS support 2022-12-14 08:41:53 +08:00
kernel LoongArch/ftrace: Add HAVE_DYNAMIC_FTRACE_WITH_ARGS support 2022-12-14 08:41:53 +08:00
lib LoongArch: Use alternative to optimize libraries 2022-12-14 08:36:11 +08:00
mm LoongArch: BPF: Add BPF exception tables 2022-12-14 08:36:11 +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 hibernation (ACPI S4) support 2022-12-14 08:41:53 +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/ftrace: Add HAVE_DYNAMIC_FTRACE_WITH_ARGS support 2022-12-14 08:41:53 +08:00
Kconfig.debug LoongArch: Add prologue unwinder support 2022-08-12 13:10:11 +08:00
Makefile LoongArch/ftrace: Add dynamic function tracer support 2022-12-14 08:41:53 +08:00