commit | a18082575c664847d36c6ca030b09ce8d93aec2f | [log] [tgz] |
---|---|---|
author | Zong Li <zong@andestech.com> | Wed Aug 15 10:45:59 2018 +0800 |
committer | Greentime Hu <greentime@andestech.com> | Tue Sep 04 14:45:17 2018 +0800 |
tree | 96070f10fadd478d6f644d639b899d9bb9311650 | |
parent | 487913ab18c215b06611c4c91c7e905fc0960eb8 [diff] |
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: Zong Li <zong@andestech.com> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>