Hi Mark, Jan,

Here is fwded the posting of the patches for libdw integration in perf
on AARCH64.
The mjw/aarch64-unwind branch of elfultis is used and it works ok! One
caveat though: the compat mode is not working, I am investigating this
now.

Regards,
Jean

---------- Forwarded message ----------
From: Jean Pihet <[email protected]>
Date: 19 March 2014 10:42
Subject: [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64
To: "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>,
"[email protected]"
<[email protected]>, Arnaldo
<[email protected]>, Ingo Molnar <[email protected]>, Jiri Olsa
<[email protected]>, Steve Capper <[email protected]>, Mark
Rutland <[email protected]>
Cc: [email protected], Jean Pihet <[email protected]>


Adding libdw DWARF post unwind support, which is part
of elfutils-devel/libdw-dev package from version 0.158.

Also includes the test suite for dwarf unwinding, by adding the
arch specific test code and the perf_regs_load function.

This series depends on the following kernel patches series:
- AARCH64 unwinding support [1],
- ARM libdw integration [2],
and on the changes from the branch for:
- libdw AARCH64 unwinding support [3].

[1] http://www.spinics.net/lists/arm-kernel/msg304483.html
[2] http://www.spinics.net/lists/arm-kernel/msg312423.html
[3] https://git.fedorahosted.org/cgit/elfutils.git/log/?h=mjw/aarch64-unwind


Jean Pihet (3):
  perf tests: Introduce perf_regs_load function on ARM64
  perf tests: Add dwarf unwind test on ARM64
  perf tools: Add libdw DWARF post unwind support for ARM64

 tools/perf/Makefile.perf                   |  2 +-
 tools/perf/arch/arm64/Makefile             |  7 ++++
 tools/perf/arch/arm64/include/perf_regs.h  |  5 +++
 tools/perf/arch/arm64/tests/dwarf-unwind.c | 59 ++++++++++++++++++++++++++++++
 tools/perf/arch/arm64/tests/regs_load.S    | 39 ++++++++++++++++++++
 tools/perf/arch/arm64/util/unwind-libdw.c  | 53 +++++++++++++++++++++++++++
 tools/perf/tests/builtin-test.c            |  3 +-
 tools/perf/tests/tests.h                   |  3 +-
 8 files changed, 168 insertions(+), 3 deletions(-)
 create mode 100644 tools/perf/arch/arm64/tests/dwarf-unwind.c
 create mode 100644 tools/perf/arch/arm64/tests/regs_load.S
 create mode 100644 tools/perf/arch/arm64/util/unwind-libdw.c

---

- Rebased on latest acme/perf/core git tree,
- Tested on the ARMv8 Foundation emulator.

--
1.7.11.7

Reply via email to