diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-02-09 19:29:27 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-11 23:35:12 +1100 |
commit | b966f2279048ee9f30d83ef8568b99fa40917c54 (patch) | |
tree | b824737af6a6743238ad51b162d3663ff05074a4 /tools/perf/scripts/python/stackcollapse.py | |
parent | eb595eca74067b78d36fb188b555e30f28686fc7 (diff) |
powerpc/syscall: Do not check unsupported scv vector on PPC32
Only book3s/64 has scv. No need to check the 0x7ff0 trap on 32 or 64e.
For that, add a helper trap_is_unsupported_scv() similar to
trap_is_scv().
And ignore the scv parameter in syscall_exit_prepare (Save 14 cycles
346 => 332 cycles)
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/fb87b205ae8eb8c623f33bb316801acf95a831e6.1612898425.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions