diff options
author | Naveen N Rao <[email protected]> | 2024-10-30 12:38:34 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-10-31 11:00:52 +1100 |
commit | 0b9846529e29ba988ce88b98df633de79675fcb3 (patch) | |
tree | 2cc859261f787b8562207c6f3fe2ab755ea12b57 /tools/perf/scripts/python | |
parent | 62f8f307c80e99ab18d38aa1a5bbbc18128ee5f8 (diff) |
powerpc/trace: Account for -fpatchable-function-entry support by toolchain
So far, we have relied on the fact that gcc supports both
-mprofile-kernel, as well as -fpatchable-function-entry, and clang
supports neither. Our Makefile only checks for CONFIG_MPROFILE_KERNEL to
decide which files to build. Clang has a feature request out [*] to
implement -fpatchable-function-entry, and is unlikely to support
-mprofile-kernel.
Update our Makefile checks so that we pick up the correct files to build
once clang picks up support for -fpatchable-function-entry.
[*] https://github.com/llvm/llvm-project/issues/57031
Signed-off-by: Naveen N Rao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions