[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240827164417.3309560-1-leo.yan@arm.com>
Date: Tue, 27 Aug 2024 17:44:08 +0100
From: Leo Yan <leo.yan@....com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Mike Leach <mike.leach@...aro.org>,
James Clark <james.clark@...aro.org>,
John Garry <john.g.garry@...cle.com>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>,
"Liang, Kan" <kan.liang@...ux.intel.com>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Yicong Yang <yangyicong@...ilicon.com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
coresight@...ts.linaro.org,
linux-perf-users@...r.kernel.org
Cc: Leo Yan <leo.yan@....com>
Subject: [PATCH v1 0/9] perf arm-spe: Introduce metadata version 2
This patch series enhances Arm SPE metadata in the Perf file to a
version 2 format.
The version 2 metadata contains a global structure with fields for CPU
numbers and the metadata version number. It also expands to store
per-CPU metadata, which includes the CPU logical number in the kernel,
MIDR, and capacity values associated with Arm SPE.
This set exposes a new sysfs node, ‘lds’ (Load Data Source), which
indicates if the Arm SPE supports data source packets. This flag will be
used to decide if the data source packet needs to be decoded during the
report phase, which will be sent out in a separate series for data
source decoding refactoring.
This patch series need to be applied on the top of the changes:
https://lore.kernel.org/linux-perf-users/20240823113306.2310957-1-leo.yan@arm.com/T/#t
Leo Yan (9):
perf: arm_spe: Introduce 'lds' capacity
perf auxtrace arm: Refactor error handling
perf auxtrace arm: Introduce find_auxtrace_pmus_by_name()
perf: arm-spe: Record multiple PMUs
perf arm-spe: Extend meta data header for version 2
perf arm-spe: Calculate meta data size
perf arm-spe: Save per CPU information in metadata
perf arm-spe: Support metadata version 2
perf arm-spe: Dump metadata with version 2
drivers/perf/arm_spe_pmu.c | 3 +
tools/perf/arch/arm/util/auxtrace.c | 191 +++++++++------------------
tools/perf/arch/arm64/util/arm-spe.c | 126 +++++++++++++++++-
tools/perf/util/arm-spe.c | 119 ++++++++++++++++-
tools/perf/util/arm-spe.h | 37 +++++-
5 files changed, 328 insertions(+), 148 deletions(-)
--
2.34.1
Powered by blists - more mailing lists