[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211102180739.18049-1-german.gomez@arm.com>
Date: Tue, 2 Nov 2021 18:07:36 +0000
From: German Gomez <german.gomez@....com>
To: linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
acme@...nel.org
Cc: German Gomez <german.gomez@....com>,
John Garry <john.garry@...wei.com>,
Will Deacon <will@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Leo Yan <leo.yan@...aro.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH 0/3] perf arm-spe: Track pid/tid for Arm SPE samples
The following patchset is an iteration on RFC [1] where pid/tid info is
assigned to the Arm SPE synthesized samples. Two methods of tracking
pids are considered: hardware-based (using Arm SPE CONTEXT packets), and
context-switch events (from perf) as fallback.
- Patch #1 enables pid tracking using RECORD_SWITCH* events from perf.
- Patch #2 saves the value of SPE CONTEXT packet to the arm_spe_record
struct (patch from [2]).
- Patch #3 enables hardware-based pid tracking using SPE CONTEXT packets.
[1] https://lore.kernel.org/lkml/20210916001748.1525291-1-namhyung@kernel.org/
[2] https://www.spinics.net/lists/linux-perf-users/msg12543.html
German Gomez (3):
perf arm-spe: Track task context switch for cpu-mode events
perf arm-spe: Save context ID in record
perf arm-spe: Support hardware-based PID tracing
tools/perf/arch/arm64/util/arm-spe.c | 6 +-
.../util/arm-spe-decoder/arm-spe-decoder.c | 2 +
.../util/arm-spe-decoder/arm-spe-decoder.h | 1 +
tools/perf/util/arm-spe.c | 144 ++++++++++++++----
4 files changed, 123 insertions(+), 30 deletions(-)
--
2.25.1
Powered by blists - more mailing lists