Re: [PATCH 3/3] x86/ftrace: Use text_poke()
From: Steven Rostedt
Date: Wed Oct 23 2019 - 13:42:24 EST
On Wed, 23 Oct 2019 12:23:06 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> All you need to do is:
>
> register_ftrace_direct((unsigned long)func_you_want_to_trace,
> (unsigned long)your_trampoline);
>
>
> Alexei,
>
> Would this work for you?
I just pushed a test branch up to:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
branch: ftrace/direct
Again, it's mostly development code, and may be buggy. (don't try
tracing when a direct function is added yet).
If this is something that you can use, then I'll work to clean it up
and sort out all the bugs.
Thanks!
-- Steve