[PATCH v2 0/3] perf arm-spe: Add snapshot mode support
From: German Gomez
Date: Tue Nov 09 2021 - 11:30:39 EST
This patchset adds snapshot mode support for arm-spe.
- [PATCH 1/3] implements the minimal callbacks to support recording in
snapshot mode.
- [PATCH 2/3] implements the find_snapshot callback in order to handle
wrap-arounds in the AUX buffer.
- [PATCH 3/3] adds a test for spe snapshot mode.
---
Changes since v1:
- Added acme@xxxxxxxxxx to the recipients list as I forgot to include
him in the original patchset [1].
- Removed [PATCH 1/5] and [PATCH 2/5] in order to keep patches
semantically relevant.
- Updated test script test_arm_spe.sh because it wasn't working on
distributions that use dash shell v0.5.10 (ubuntu 20) [2].
[1] https://lore.kernel.org/all/20210916154635.1525-1-german.gomez@xxxxxxx/
[2] https://lore.kernel.org/all/fd65eb63-d4ca-2105-74cb-c717ad2eb7d3@xxxxxxx/
German Gomez (3):
perf arm-spe: Add snapshot mode support
perf arm-spe: Implement find_snapshot callback
perf arm-spe: Snapshot mode test
tools/perf/arch/arm64/util/arm-spe.c | 275 +++++++++++++++++++++++++
tools/perf/tests/shell/test_arm_spe.sh | 89 ++++++++
2 files changed, 364 insertions(+)
create mode 100755 tools/perf/tests/shell/test_arm_spe.sh
--
2.25.1