diff options
author | Naveen N. Rao <[email protected]> | 2022-08-09 15:29:07 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-08-10 15:38:16 +1000 |
commit | cb928ac192128c842f4c1cfc8b6780b95719d65f (patch) | |
tree | 9438c7d7adcc5331969d9b20791c8697420c1b2d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5cccf7a5215d12027e55e247907817631b413c28 (diff) |
powerpc64/ftrace: Fix ftrace for clang builds
Clang doesn't support -mprofile-kernel ABI, so guard the checks against
CONFIG_DYNAMIC_FTRACE_WITH_REGS, rather than the elf ABI version.
Fixes: 23b44fc248f4 ("powerpc/ftrace: Make __ftrace_make_{nop/call}() common to PPC32 and PPC64")
Cc: [email protected] # v5.19+
Reported-by: Nick Desaulniers <[email protected]>
Reported-by: Ondrej Mosnacek <[email protected]>
Signed-off-by: Naveen N. Rao <[email protected]>
Tested-by: Ondrej Mosnacek <[email protected]>
Acked-by: Nick Desaulniers <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://github.com/llvm/llvm-project/issues/57031
Link: https://github.com/ClangBuiltLinux/linux/issues/1682
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions