aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-10-28 14:24:04 +0200
committerMichael Ellerman <[email protected]>2021-11-29 22:49:29 +1100
commit7dfbfb87c243cf08bc2b9cc23699ac207b726458 (patch)
tree5f9777a60d4fb9baaa913fad98c325ea409bd334 /tools/perf/scripts
parentc93d4f6ecf4b0699d0f2088f7bd9cd09af45d65a (diff)
powerpc/ftrace: Activate HAVE_DYNAMIC_FTRACE_WITH_REGS on PPC32
Unlike PPC64, PPC32 doesn't require any special compiler option to get _mcount() call not clobbering registers. Provide ftrace_regs_caller() and ftrace_regs_call() and activate HAVE_DYNAMIC_FTRACE_WITH_REGS. That's heavily copied from ftrace_64_mprofile.S For the time being leave livepatching aside, it will come with following patch. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/1862dc7719855cc2a4eec80920d94c955877557e.1635423081.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions