diff options
author | Qing Zhang <zhangqing@loongson.cn> | 2022-12-10 22:40:21 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-14 08:41:54 +0800 |
commit | a51ac5246d2505b58229242959d2bc73d113ca50 (patch) | |
tree | a51e352384af8317ace4baf429c9457ad25d9435 /lib/mpi/mpiutil.c | |
parent | ac7127e1cc65aeb578998c992a05dbc80fa18f0f (diff) |
LoongArch/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support
ftrace_graph_ret_addr() can be called by stack unwinding code to convert
a found stack return address ('ret') to its original value, in case the
function graph tracer has modified it to be 'return_to_handler'. If the
hasn't been modified, the unchanged value of 'ret' is returned.
Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions