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

From: nobuta.keiya@xxxxxxxxxxx
Date: Wed Jun 16 2021 - 05:15:18 EST


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@xxxxxxxxxxx>
---------------------------------------------------------
Solution Development Dept. Software Div.
FUJITSU COMPUTER TECHNOLOGIES Ltd.