[PATCH v2 0/4] perf arm-spe: Correct recording configurations

From: Leo Yan
Date: Wed May 19 2021 - 00:15:58 EST


This patch series is to correct Arm SPE recording configurations.

As James Clark found, there have several issues of recording
configurations for Arm SPE. One main issue is the sample flags setting
for Arm SPE event and dummy event, and there have two minor issues for
enabling timestamp and redundant checking for "full_auxtrace".

This series fixes these issues and has been tested on Arm64 Hisilicon
D06 platform.

Changes from v1:
* Added patch 04/04 to remove redundant checking for "full_auxtrace"
(James);
* Added James Clark's Tested-by and Reviewed-by tags for patches 01-03.

Leo Yan (4):
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
perf arm-spe: Remove redundant checking for "full_auxtrace"

tools/perf/arch/arm64/util/arm-spe.c | 45 +++++++++++++++++++++++-----
1 file changed, 38 insertions(+), 7 deletions(-)

--
2.25.1