All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] Fix missing leaf-function callers when recording
@ 2021-12-15 15:11 ` German Gomez
  0 siblings, 0 replies; 22+ messages in thread
From: German Gomez @ 2021-12-15 15:11 UTC (permalink / raw)
  To: linux-kernel, linux-perf-users, acme
  Cc: German Gomez, John Garry, Will Deacon, Mathieu Poirier, Leo Yan,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	linux-arm-kernel

(This cset applies on top of [1])

Call-graphs on ARM64 using the option "--call-grah fp" are missing the
callers of the leaf functions. See [PATCH 6/6] for a before and after
after example using this cset.

[1] https://lore.kernel.org/all/20211207180653.1147374-1-german.gomez@arm.com/

---
Changes since v3
  - Only record LR register instead of all registers in [PATCH 1/6].
  - Introduce [PATCH 5/6] to refactor the SAMPL_REG macro.
  - Fix compilation issues on different platforms.

Alexandre Truong (5):
  perf tools: record ARM64 LR register automatically
  perf tools: add a mechanism to inject stack frames
  perf tools: Refactor script__setup_sample_type()
  perf tools: enable dwarf_callchain_users on arm64
  perf tools: determine if LR is the return address

German Gomez (1):
  perf tools: Refactor SMPL_REG macro in perf_regs.h

 tools/perf/arch/arm64/util/machine.c          |  7 +++
 tools/perf/builtin-record.c                   |  8 +++
 tools/perf/builtin-report.c                   |  4 +-
 tools/perf/builtin-script.c                   | 13 +---
 tools/perf/util/Build                         |  1 +
 .../util/arm64-frame-pointer-unwind-support.c | 63 +++++++++++++++++++
 .../util/arm64-frame-pointer-unwind-support.h | 10 +++
 tools/perf/util/callchain.c                   |  9 ++-
 tools/perf/util/callchain.h                   |  4 +-
 tools/perf/util/machine.c                     | 50 ++++++++++++++-
 tools/perf/util/machine.h                     |  1 +
 tools/perf/util/perf_regs.h                   |  7 ++-
 12 files changed, 157 insertions(+), 20 deletions(-)
 create mode 100644 tools/perf/util/arm64-frame-pointer-unwind-support.c
 create mode 100644 tools/perf/util/arm64-frame-pointer-unwind-support.h

-- 
2.25.1


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

end of thread, other threads:[~2021-12-17 12:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 15:11 [PATCH v4 0/6] Fix missing leaf-function callers when recording German Gomez
2021-12-15 15:11 ` German Gomez
2021-12-15 15:11 ` [PATCH v4 1/6] perf tools: record ARM64 LR register automatically German Gomez
2021-12-15 15:11   ` German Gomez
2021-12-15 15:11 ` [PATCH v4 2/6] perf tools: add a mechanism to inject stack frames German Gomez
2021-12-15 15:11   ` German Gomez
2021-12-15 15:11 ` [PATCH v4 3/6] perf tools: Refactor script__setup_sample_type() German Gomez
2021-12-15 15:11   ` German Gomez
2021-12-15 15:11 ` [PATCH v4 4/6] perf tools: enable dwarf_callchain_users on arm64 German Gomez
2021-12-15 15:11   ` German Gomez
2021-12-15 16:37   ` Mark Rutland
2021-12-15 16:37     ` Mark Rutland
2021-12-17 12:08     ` German Gomez
2021-12-17 12:08       ` German Gomez
2021-12-15 15:11 ` [PATCH v4 5/6] perf tools: Refactor SMPL_REG macro in perf_regs.h German Gomez
2021-12-15 15:11   ` German Gomez
2021-12-15 15:11 ` [PATCH v4 6/6] perf tools: determine if LR is the return address German Gomez
2021-12-15 15:11   ` German Gomez
2021-12-15 16:33   ` Mark Rutland
2021-12-15 16:33     ` Mark Rutland
2021-12-17 11:57     ` German Gomez
2021-12-17 11:57       ` German Gomez

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.