aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2021-10-05 09:15:41 +0200
committerArd Biesheuvel <[email protected]>2021-12-03 15:11:32 +0100
commit0b78f2e92d0cf722baa507c20948f1b1d6baf83d (patch)
treec923513a548ab3f8baf852fd639d8d965e45eaaf /tools/perf/scripts/python/flamegraph.py
parentd4664b6c987f80338407889c1e3f3abe7e16be94 (diff)
ARM: call_with_stack: add unwind support
Restructure the code and add the unwind annotations so that both the frame pointer unwinder as well as the EHABI unwind info based unwinder will be able to follow the call stack through call_with_stack(). Since GCC and Clang use different formats for the stack frame, two methods are implemented: a GCC version that pushes fp, sp, lr and pc for compatibility with the frame pointer unwinder, and a second version that works with Clang, as well as with the EHABI unwinder both in ARM and Thumb2 modes. Signed-off-by: Ard Biesheuvel <[email protected]> Acked-by: Linus Walleij <[email protected]> Tested-by: Keith Packard <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Tested-by: Marc Zyngier <[email protected]> Tested-by: Vladimir Murzin <[email protected]> # ARMv7M
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions