]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
csky: Implement ftrace with regs
authorGuo Ren <guoren@linux.alibaba.com>
Tue, 18 Feb 2020 12:27:39 +0000 (20:27 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Sun, 8 Mar 2020 12:55:14 +0000 (20:55 +0800)
commit89a3927a775c0a7212e2e3c4e2d42cd48895bee0
tree18dc3f0f5c95f004f7613882a511eb7e19b32ba6
parent9866d141a0977ace974400bf1f793dfc163409ce
csky: Implement ftrace with regs

This patch implements FTRACE_WITH_REGS for csky, which allows a traced
function's arguments (and some other registers) to be captured into a
struct pt_regs, allowing these to be inspected and/or modified.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/Kconfig
arch/csky/abiv2/inc/abi/entry.h
arch/csky/abiv2/mcount.S
arch/csky/include/asm/ftrace.h
arch/csky/kernel/asm-offsets.c
arch/csky/kernel/ftrace.c