diff options
author | Leo Yan <leo.yan@arm.com> | 2024-10-03 19:53:20 +0100 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-10-14 12:04:31 -0700 |
commit | 6bcf54c89b3d8406433839f0e3b72c08b4a1caf3 (patch) | |
tree | 363936cb17d2106599453b84bd3a9ae1e2d0b211 /tools/perf/util | |
parent | ba5e7169e5483a61899497e23fa18f7ef33aa827 (diff) | |
download | linux-stable-6bcf54c89b3d8406433839f0e3b72c08b4a1caf3.tar.gz linux-stable-6bcf54c89b3d8406433839f0e3b72c08b4a1caf3.tar.bz2 linux-stable-6bcf54c89b3d8406433839f0e3b72c08b4a1caf3.zip |
perf arm-spe: Remove the unused 'midr' field
The 'midr' field is replaced by the MIDR values stored in metadata (per
CPU wise). Remove the 'midr' field as it is no longer used.
Signed-off-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20241003185322.192357-6-leo.yan@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/arm-spe.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/util/arm-spe.c b/tools/perf/util/arm-spe.c index 9221b2f66bbe..485f60c32309 100644 --- a/tools/perf/util/arm-spe.c +++ b/tools/perf/util/arm-spe.c @@ -46,7 +46,6 @@ struct arm_spe { struct perf_session *session; struct machine *machine; u32 pmu_type; - u64 midr; struct perf_tsc_conversion tc; @@ -1466,8 +1465,6 @@ int arm_spe_process_auxtrace_info(union perf_event *event, struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; size_t min_sz = ARM_SPE_AUXTRACE_V1_PRIV_SIZE; struct perf_record_time_conv *tc = &session->time_conv; - const char *cpuid = perf_env__cpuid(session->evlist->env); - u64 midr = strtol(cpuid, NULL, 16); struct arm_spe *spe; u64 **metadata = NULL; u64 metadata_ver; @@ -1501,7 +1498,6 @@ int arm_spe_process_auxtrace_info(union perf_event *event, spe->pmu_type = auxtrace_info->priv[ARM_SPE_PMU_TYPE]; else spe->pmu_type = auxtrace_info->priv[ARM_SPE_PMU_TYPE_V2]; - spe->midr = midr; spe->metadata = metadata; spe->metadata_ver = metadata_ver; spe->metadata_nr_cpu = nr_cpu; |