[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191121142737.69978ef9@oasis.local.home>
Date: Thu, 21 Nov 2019 14:27:37 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Mark Rutland <mark.rutland@....com>
Cc: Torsten Duwe <duwe@...e.de>, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>
Subject: Re: KASAN_INLINE && patchable-function-entry
On Thu, 21 Nov 2019 18:36:32 +0000
Mark Rutland <mark.rutland@....com> wrote:
> As a heads-up to the ftrace folk, I think it's possible to work around
> this specific issue in the kernel by allowing the arch code to filter
> out call sites at init time (probably in ftrace_init_nop()), but I
> haven't put that together yet.
If you need to make some code invisible to ftrace at init time, it can
be possible by setting the dyn_ftrace rec flag to DISABLED, but this
can be cleared, which we would need a way to keep it from being
cleared, which shouldn't be too hard.
Is that what you would be looking for?
-- Steve
Powered by blists - more mailing lists