diff options
author | Tiezhu Yang <[email protected]> | 2021-02-04 11:35:23 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-03-01 14:47:50 -0300 |
commit | b5f184fbdb03b4fcc1141de34dd5ec964ca5d99e (patch) | |
tree | d71c47e392404b4d3346b09b0525c6ecd4e29566 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 84b7725536d82e99b7564a079b8627f3be692a13 (diff) |
perf tools: Support MIPS unwinding and dwarf-regs
Map perf APIs (perf_reg_name/get_arch_regstr/unwind__arch_reg_id) with
MIPS specific registers.
[[email protected]: repick this patch for unwinding userstack backtrace
by perf and libunwind on MIPS based CPU.]
[[email protected]: Add sample_reg_masks[] to fix build error,
silence some checkpatch errors and warnings, and also separate the
original patches into two parts (MIPS kernel and perf tools) to merge
easily.]
The original patches:
https://lore.kernel.org/patchwork/patch/1126521/
https://lore.kernel.org/patchwork/patch/1126520/
Committer notes:
Do it as __perf_reg_name() to cope with:
067012974c8ae31a ("perf tools: Fix arm64 build error with gcc-11")
Signed-off-by: Tiezhu Yang <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Archer Yan <[email protected]>
Cc: David Daney <[email protected]>
Cc: Jianlin Lv <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Juxin Gao <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Xuefeng Li <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Archer Yan <[email protected]>
Signed-off-by: David Daney <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions