Commit 4c651be0 authored by Wu Liliu's avatar Wu Liliu Committed by guzitao
Browse files

sw64: perf: add fp based stack trace support

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I56X48



--------------------------------

It used to obtain return address of function by scanning entire
stack which lead to inaccurate result. This patch adds fp based
stack trace support to improve efficiency and accuracy.

Because toolchain is not ready yet, we take CONFIG_FRAME_POINTER
to activate this support, and it should be disabled by default.

Signed-off-by: default avatarWu Liliu <wuliliu@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 9941c328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment