Subject: Re: [PATCH 6/7] powerpc/ftrace: Use module loader helpers to parse trampolines

From: Rusty Russell <[email-masked]>
Date: Tue, 22 Apr 2014 16:28:14 +0930

Anton Blanchard <[email-masked]> writes:
> Now we have is_module_trampoline() and module_trampoline_target()
> we can remove a bunch of intimate kernel module trampoline
> knowledge from ftrace.
>
> Signed-off-by: Anton Blanchard <[email-masked]>

Oh god, I had no idea this code existed.

I really wanted to implement the R_PPC64_TOCSAVE optimization, and I was
thinking of frobbing the stub code.  At least now it's all in one place,
because I would have completely missed this.

Thanks,
Rusty.