RE: [RFC PATCH v5 2/2] arm64: Create a list of SYM_CODE functions, check return PC against list

nobuta.keiya
2021-06-16T09:15:20Z

Hi Suraj,

>
> if (frame->fp == (unsigned long)task_pt_regs(tsk)->stackframe)
> return -ENOENT;

If I understand correctly, a similar final frame check is introduced in this patch:

arm64: Implement stack trace termination record
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=7d7b720a4b80

It is currently merged into for-next/stacktrace branch.

Thanks & Best Regards,
Keiya Nobuta <nobuta.keiya@fujitsu.com>
---------------------------------------------------------
Solution Development Dept. Software Div.
FUJITSU COMPUTER TECHNOLOGIES Ltd.