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

nobuta.keiya at fujitsu.com nobuta.keiya at fujitsu.com
Wed Jun 16 02:15:06 PDT 2021


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 at fujitsu.com>
---------------------------------------------------------
Solution Development Dept. Software Div.
FUJITSU COMPUTER TECHNOLOGIES Ltd.




More information about the linux-arm-kernel mailing list