diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2018-04-19 12:34:09 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-03 22:32:29 +1000 |
commit | ae30cc05bed2fd7eb05e4fb53f412783f05ccb7b (patch) | |
tree | b4293c28d14cb058d79585c44e5e60383df213a5 /arch/powerpc/configs/83xx/mpc837x_mds_defconfig | |
parent | 9ef404236438bf4934386dc2aa34ba7f0a9e1934 (diff) |
powerpc64/ftrace: Implement support for ftrace_regs_caller()
With -mprofile-kernel, we always save the full register state in
ftrace_caller(). While this works, this is inefficient if we're not
interested in the register state, such as when we're using the function
tracer.
Rename the existing ftrace_caller() as ftrace_regs_caller() and provide
a simpler implementation for ftrace_caller() that is used when registers
are not required to be saved.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/configs/83xx/mpc837x_mds_defconfig')
0 files changed, 0 insertions, 0 deletions