diff options
author | Josh Poimboeuf <[email protected]> | 2019-06-26 19:33:55 -0500 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-06-28 00:11:21 +0200 |
commit | ae6a45a0868986f69039a2150d3b2b9ca294c378 (patch) | |
tree | 81d8a61bfefb39d9a9a07615f14f1df9df859645 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 83f44ae0f8afcc9da659799db8693f74847e66b3 (diff) |
x86/unwind/orc: Fall back to using frame pointers for generated code
The ORC unwinder can't unwind through BPF JIT generated code because
there are no ORC entries associated with the code.
If an ORC entry isn't available, try to fall back to frame pointers. If
BPF and other generated code always do frame pointer setup (even with
CONFIG_FRAME_POINTERS=n) then this will allow ORC to unwind through most
generated code despite there being no corresponding ORC entries.
Fixes: d15d356887e7 ("perf/x86: Make perf callchains work without CONFIG_FRAME_POINTER")
Reported-by: Song Liu <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Kairui Song <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/b6f69208ddff4343d56b7bfac1fc7cfcd62689e8.1561595111.git.jpoimboe@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions