diff options
author | Sathvika Vasireddy <[email protected]> | 2022-11-14 23:27:40 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-11-15 20:11:47 +1100 |
commit | 01f2cf0b990e58ae89142f57c7e02d33621311d2 (patch) | |
tree | b6b766ec870baff1854093ea3295ed5517f7da83 /tools/perf/scripts/python/flamegraph.py | |
parent | 93e3f45a26310e3f3f8558be40df411e23ab742c (diff) |
powerpc: Override __ALIGN and __ALIGN_STR macros
In a subsequent patch, we would want to annotate powerpc assembly functions
with SYM_FUNC_START_LOCAL macro. This macro depends on __ALIGN macro.
The default expansion of __ALIGN macro is:
#define __ALIGN .align 4,0x90
So, override __ALIGN and __ALIGN_STR macros to use the same alignment as
that of the existing _GLOBAL macro. Also, do not pad with 0x90, because
repeated 0x90s are not a nop or trap on powerpc.
Tested-by: Naveen N. Rao <[email protected]>
Reviewed-by: Naveen N. Rao <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Sathvika Vasireddy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions