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

Rusty Russell rusty at rustcorp.com.au
Tue Apr 22 16:58:14 EST 2014

Anton Blanchard <anton at samba.org> 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 <anton at samba.org>

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.


More information about the Linuxppc-dev mailing list