+1
−0
+4
−0
arch/nds32/include/asm/ftrace.h
0 → 100644
+20
−0
arch/nds32/kernel/ftrace.c
0 → 100644
+28
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:Zong Li <zong@andestech.com> Acked-by:
Greentime Hu <greentime@andestech.com> Signed-off-by:
Greentime Hu <greentime@andestech.com>