]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf sample-raw: Use perf_env e_machine rather than arch
authorIan Rogers <irogers@google.com>
Tue, 2 Jun 2026 15:25:05 +0000 (08:25 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Jun 2026 19:48:00 +0000 (16:48 -0300)
commitd08cb3fb0fbbb759c2e10747fec099290f2108ad
treeebb168ecf18ae6a7dcb7bb106a09c6d4a7b50ad0
parentdfe48498e6ab1fff4a27600450d073e117b0bd5f
perf sample-raw: Use perf_env e_machine rather than arch

Use the e_machine rather than the arch to determine S390 and x86 types.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Honglei Wang <jameshongleiwang@126.com>
Cc: Jan Polensky <japo@linux.ibm.com>
Cc: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sample-raw.c
tools/perf/util/sample-raw.h