[PATCH 1/3] arm64: implement ftrace with regs
From: Torsten Duwe <hidden>
Date: 2018-08-15 13:46:25
Also in:
lkml
From: Torsten Duwe <hidden>
Date: 2018-08-15 13:46:25
Also in:
lkml
[working on V2 with your feedback] On Tue, Aug 14, 2018 at 12:04:33PM -0400, Steven Rostedt wrote:
On Tue, 14 Aug 2018 09:33:52 +0100 Julien Thierry [off-list ref] wrote:quoted
quoted
quoted
Shouldn't this be an error? The option -fpatchable-function-entry has been added to the CC_FLAGS_FTRACE, so any call to the compiler is gonna break anyway. Or am I missing something?
This should be the case.
OK, I see what you mean. If the resulting build wont boot, then yes this should be an error and not a warning.
No, there won't be a binary because the first gcc invocation with CC_FLAGS_FTRACE will error out. The alternatives are a makefile-warning followed by a gcc-error or just a makefile-error. The makefile warning or error should hint at the causing config option, that's the key point. Beyond that I don't have any preference. Torsten