nds32/ftrace: Support static function tracer
This patch support the static function tracer. On nds32 ABI, we need to always push return address to stack for __builtin_return_address can work correctly, otherwise, it will get the wrong value of $lp at leaf function. Signed-off-by: NZong Li <zong@andestech.com> Acked-by: NGreentime Hu <greentime@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com>
Showing
arch/nds32/include/asm/ftrace.h
0 → 100644
arch/nds32/kernel/ftrace.c
0 → 100644
想要评论请 注册 或 登录