On Wed, 23 Oct 2019 12:23:06 -0400
Steven Rostedt <[email protected]> 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

Reply via email to