All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64
@ 2014-03-19  9:42 ` Jean Pihet
  0 siblings, 0 replies; 36+ messages in thread
From: Jean Pihet @ 2014-03-19  9:42 UTC (permalink / raw)
  To: linux-kernel, linaro-kernel, linux-arm-kernel, Arnaldo,
	Ingo Molnar, Jiri Olsa, Steve Capper, Mark Rutland
  Cc: patches, Jean Pihet

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


^ permalink raw reply	[flat|nested] 36+ messages in thread
* [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64
@ 2014-05-06 15:55 Jean Pihet
  2014-05-06 15:55   ` Jean Pihet
  0 siblings, 1 reply; 36+ messages in thread
From: Jean Pihet @ 2014-05-06 15:55 UTC (permalink / raw)
  To: Jiri Olsa, Arnaldo Carvalho de Melo, will.deacon
  Cc: linux-kernel, linaro-kernel, linux-arm-kernel, Jean Pihet

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]. Already mainlined.
- 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] https://lkml.org/lkml/2014/5/6/366
[3] https://git.fedorahosted.org/cgit/elfutils.git/log/?h=mjw/aarch64-unwind

ToDo: investigate the libdw unwinding problem with compat binaries (i.e.
ARMv7 binaries running on ARMv8). Since this functionality works ok with
libunwind, the problem should be in libdw compat support [3].


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 the latest jolsa/perf/core

-- 
1.7.11.7


^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2014-05-06 15:55 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19  9:42 [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64 Jean Pihet
2014-03-19  9:42 ` Jean Pihet
2014-03-19  9:42 ` [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM64 Jean Pihet
2014-03-19  9:42   ` Jean Pihet
2014-03-21 15:11   ` Mark Rutland
2014-03-21 15:11     ` Mark Rutland
2014-03-25 15:23     ` Jean Pihet
2014-03-25 15:23       ` Jean Pihet
2014-04-04  7:51       ` Jean Pihet
2014-04-04  7:51         ` Jean Pihet
2014-04-22  8:13       ` Jean Pihet
2014-04-22  8:13         ` Jean Pihet
2014-04-22 10:37         ` Will Deacon
2014-04-22 10:37           ` Will Deacon
2014-04-22 13:24           ` Mark Rutland
2014-04-22 13:24             ` Mark Rutland
2014-04-22 13:42       ` Mark Rutland
2014-04-22 13:42         ` Mark Rutland
2014-04-28 13:10         ` Jean Pihet
2014-04-28 13:10           ` Jean Pihet
2014-04-28 13:12           ` Jean Pihet
2014-04-28 13:12             ` Jean Pihet
2014-05-02  9:19             ` Jean Pihet
2014-05-02  9:19               ` Jean Pihet
2014-05-02 16:51               ` Will Deacon
2014-05-02 16:51                 ` Will Deacon
2014-05-05  7:07                 ` Jean Pihet
2014-05-05  7:07                   ` Jean Pihet
2014-05-06  8:51                   ` Will Deacon
2014-05-06  8:51                     ` Will Deacon
2014-03-19  9:42 ` [PATCH 2/3] perf tests: Add dwarf unwind test " Jean Pihet
2014-03-19  9:42   ` Jean Pihet
2014-03-19  9:42 ` [PATCH 3/3] perf tools: Add libdw DWARF post unwind support for ARM64 Jean Pihet
2014-03-19  9:42   ` Jean Pihet
2014-05-06 15:55 [PATCH 0/3] " Jean Pihet
2014-05-06 15:55 ` [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM64 Jean Pihet
2014-05-06 15:55   ` Jean Pihet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.