[RFC PATCH 0/2] perf: arm_spe: Fix consistency of CONTEXT packets in SPE driver
From: German Gomez
Date: Mon Jan 17 2022 - 07:45:27 EST
Applies a couple of small changes to the arm_spe_pmu driver.
We are seeing context packets in an inconsistent number of SPE records
even when the perf-tool runs without the needed capabilities. This is
fixed in [1/2].
We're also allowing CONTEXT packets to be collected in per-cpu events in
[2/2].
I'm sending as an RFC because it's the first time I change driver code.
Also I'm not 100% sure of the approach in [2/2] (from a security and/or
implementation standpoint).
Thanks,
German
- [PATCH 1/2] Fixes the consistency issue with the context packets.
- [PATCH 2/2] Enables context packets in per-cpu events.
German Gomez (2):
perf: arm_spe: Fix consistency of PMSCR register bit CX
perf: arm_spe: Enable CONTEXT packets in SPE traces if the profiler
runs in CPU mode.
drivers/perf/arm_spe_pmu.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--
2.25.1