[PATCH v3 2/2] powerpc: ftrace_64: split further based on -mprofile-kernel

Steven Rostedt rostedt at goodmis.org
Tue Feb 28 02:40:14 AEDT 2017


On Wed, 22 Feb 2017 00:31:02 +0530
"Naveen N. Rao" <naveen.n.rao at linux.vnet.ibm.com> wrote:

> Split ftrace_64.S further retaining the core ftrace 64-bit aspects
> in ftrace_64.S and moving ftrace_caller() and ftrace_graph_caller() into
> separate files based on -mprofile-kernel. The livepatch routines are all
> now contained within the mprofile file.

Why? I would think that it may be possible to share code if they stay
in the same file. I haven't had the chance to look deeply into the
current code, but there may be ways to make macros and consolidate
duplicate code like we did in x86.

-- Steve


> 
> Signed-off-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>


More information about the Linuxppc-dev mailing list