]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf tests topology: Switch env->arch use to env->e_machine
authorIan Rogers <irogers@google.com>
Tue, 2 Jun 2026 15:24:59 +0000 (08:24 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Jun 2026 19:45:04 +0000 (16:45 -0300)
commit4ccbc91df98a19eba2f40088e9bf5ab0888cf80a
tree0ee978fca5332269be7be549d8d1282f101926b2
parented52302f51ccb217a1d1b70bd7cec36d6f75693c
perf tests topology: Switch env->arch use to env->e_machine

Some arch string comparisons weren't normalized. Avoid potential
issues with normalized names vs uname values by swtiching to using the
e_machine.

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/tests/topology.c