Re: [PATCH v2 0/3] perf more ELF machine usage

From: Arnaldo Carvalho de Melo

Date: Mon Jan 26 2026 - 23:09:19 EST


On Mon, Jan 26, 2026 at 02:05:47PM -0800, Ian Rogers wrote:
> Switch 3 more cases where the perf_env arch was being used to
> determine the architecture type and switch to using the ELF
> machine. This includes the addition of minimal instruction parsing in
> perf script for architectures other than x86, or x86 when
> cross-platform.
>
> v2: Resolve conflicts with:
> https://lore.kernel.org/lkml/20260123222209.1181249-1-irogers@xxxxxxxxxx/
>
> v1: https://lore.kernel.org/lkml/20260124001611.1332019-1-irogers@xxxxxxxxxx/
>
> Ian Rogers (3):
> perf script: Fix script_fetch_insn for more than just x86
> perf callchain: Switch callchain_param_setup from an arch to an
> e_machine
> perf thread-stack: Switch thread_stack__init to use e_machine

Thanks, applied to perf-tools-next,

- Arnaldo