[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210429150100.282180-1-leo.yan@linaro.org>
Date: Thu, 29 Apr 2021 23:00:57 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
James Clark <James.Clark@....com>,
John Garry <john.garry@...wei.com>,
Will Deacon <will@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
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,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
Al Grant <Al.Grant@....com>
Cc: Leo Yan <leo.yan@...aro.org>
Subject: [PATCH v1 0/3] perf arm-spe: Correct recording configurations
This patch series is to correct Arm SPE recording configurations.
As found by James Clark, it's not reasonable for the current code for
sample flags CPU/TIME/TID which are hard coded. For TIME sample flag,
since it's always enabled, then Arm SPE has no chance for timeless
tracing; for CPU sample flag, it's not needed for per-thread mode;
for TID sample flag, it's redundant for AUX and dummy events.
This series corrects the sample flags setting, and it enables
timestamp for per-cpu mode tracing by default.
This patch set has been tested on Arm64 Hisilicon D06 platform.
Leo Yan (3):
perf arm-spe: Correct sample flags for SPE event
perf arm-spe: Correct sample flags for dummy event
perf arm-spe: Enable timestamp for per-cpu mode
tools/perf/arch/arm64/util/arm-spe.c | 66 +++++++++++++++++++++-------
1 file changed, 50 insertions(+), 16 deletions(-)
--
2.25.1
Powered by blists - more mailing lists