perf header: remove unecessary core id test
authorAnubhav Shelat <ashelat@redhat.com>
Wed, 18 Jun 2025 14:29:22 +0000 (10:29 -0400)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 20 Jun 2025 20:49:46 +0000 (13:49 -0700)
commit13b38e6b8059de096ebddb5d770c2419943949b7
tree9c43af2e1d80091fec251e61cb912cafc4099e8a
parent2d584688643fac90428ab12513e05d6deff7c606
perf header: remove unecessary core id test

It is possible for systems to have a greater socket id number than the
number of cpus present on a machine, so this test is obselete and should
be removed.

Signed-off-by: Anubhav Shelat <ashelat@redhat.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250618142921.4053400-2-ashelat@redhat.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/header.c