Commit a80aa939 authored by Cheng Jian's avatar Cheng Jian Committed by Xie XiuQi
Browse files

livepatch/arm64: fix unwind_frame for task



euler inclusion
category: feature
Bugzilla: 5507
CVE: N/A

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

commit 20380bb3 ("arm64: ftrace: fix a stack tracer's output
under function graph tracer") fix the return_to_handler showing
up in some situation.

we can directly use walk_stackframe for klp_check_calltrace instead
of klp_walk_stackframe. it's necessary because the livepatch module
need not to know the features and implementation details of ftrace.
Otherwise, this patch fix an crash when function graph enabled.

Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Reviewed-by: default avatarLi Bin <huawei.libin@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ba5f334e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment