]> git.ipfire.org Git - thirdparty/linux.git/commit
perf thread-stack: Switch thread_stack__init() to use e_machine
authorIan Rogers <irogers@google.com>
Mon, 26 Jan 2026 22:05:50 +0000 (14:05 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 04:35:47 +0000 (01:35 -0300)
commit4b870f62c5079b48a6a19c852f4db5d2569a5239
treee941e26ec2a92f3216315e8b86f36091530e31cf
parentf33e7aa42ea79f2142f073df777c01125def45e5
perf thread-stack: Switch thread_stack__init() to use e_machine

The architecture type is used to set the retpoline state.

Rather than use the arch string switch to using the ELF machine that's
readily available within the thread.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Shimin Guo <shimin.guo@skydio.com>
Cc: Yujie Liu <yujie.liu@intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread-stack.c