aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNaveen N Rao <[email protected]>2023-06-09 09:15:01 +0530
committerMichael Ellerman <[email protected]>2023-06-19 17:37:13 +1000
commitd24da1f85530a5b47590c0febd1395dd8fc73124 (patch)
tree2efce4d53f32b514e477bd550681a6bdaeca98ef /tools/perf/util/trace-event-scripting.c
parentf4f913c980bc6abe0ccfe88fe3909c125afe4a2d (diff)
powerpc/ftrace: Disable ftrace on ppc32 if using clang
Ftrace on ppc32 expects a three instruction sequence at the beginning of each function when specifying -pg: mflr r0 stw r0,4(r1) bl _mcount This is the case with all supported versions of gcc. Clang however emits a branch to _mcount after the function prologue, similar to the pre -mprofile-kernel ABI on ppc64. This is not supported. Disable ftrace on ppc32 if using clang for now. This can be re-enabled later if clang picks up support for -fpatchable-function-entry on ppc32. Signed-off-by: Naveen N Rao <[email protected]> Acked-by: Nick Desaulniers <[email protected]> Link: https://github.com/llvm/llvm-project/issues/63220 Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions