[PATCH v2] perf record: Refactor ARM64 leaf caller setup out of arch
Arnaldo Carvalho de Melo
acme at kernel.org
Thu May 14 16:49:52 PDT 2026
On Thu, May 14, 2026 at 10:38:07AM -0700, Ian Rogers wrote:
> On Mon, May 11, 2026 at 10:41 PM Ian Rogers <irogers at google.com> wrote:
> >
> > Code in tools/perf/arch causes portability issues/opaqueness and LTO
> > issues due to the use of weak symbols. Move the adding of LR to the
> > sample_user_regs into arm64-frame-pointer-unwind-support.c conditional
> > on EM_HOST == EM_AARCH64 (false on all non-ARM64 builds). This also
> > better encapsulates the use of the sampled registers by
> > get_leaf_frame_caller_aarch64 and the set up by the new
> > add_leaf_frame_caller_opts_aarch64, exposing opportunities for
> > possibly sampling PC and SP to help the unwinder.
> >
> > Reviewed-by: James Clark <james.clark at linaro.org>
> > Signed-off-by: Ian Rogers <irogers at google.com>
>
> Ping.
Thanks, applied to perf-tools-next, for v7.2.
- Arnaldo
More information about the linux-arm-kernel
mailing list