[RFC PATCH v2 3/4] arm64: Detect FTRACE cases that make the stack trace unreliable
Madhavan T. Venkataraman
madvenka at linux.microsoft.com
Thu Apr 8 20:23:39 BST 2021
On 4/8/21 11:58 AM, Mark Brown wrote:
> On Mon, Apr 05, 2021 at 03:43:12PM -0500, madvenka at linux.microsoft.com wrote:
>> From: "Madhavan T. Venkataraman" <madvenka at linux.microsoft.com>
>>
>> When CONFIG_DYNAMIC_FTRACE_WITH_REGS is enabled and tracing is activated
>> for a function, the ftrace infrastructure is called for the function at
>> the very beginning. Ftrace creates two frames:
>
> This looks good to me however I'd really like someone who has a firmer
> understanding of what ftrace is doing to double check as it is entirely
> likely that I am missing cases here, it seems likely that if I am
> missing stuff it's extra stuff that needs to be added and we're not
> actually making use of the reliability information yet.
>
OK. So, do you have some specific reviewer(s) in mind? Apart from yourself, Mark Rutland and
Josh Poimboeuf, these are some reviewers I can think of (in alphabetical order):
AKASHI Takahiro <takahiro.akashi at linaro.org>
Ard Biesheuvel <ard.biesheuvel at linaro.org>
Catalin Marinas <catalin.marinas at arm.com>
Josh Poimboeuf <jpoimboe at redhat.com>
Steven Rostedt (VMware) <rostedt at goodmis.org>
Torsten Duwe <duwe at suse.de>
Will Deacon <will at kernel.org>
Sorry if I missed out any of the other experts.
Thanks.
Madhavan
More information about the linux-arm-kernel
mailing list