[PATCH v2 0/3] perf arm-spe: Add snapshot mode support

German Gomez german.gomez at arm.com
Tue Nov 9 08:30:06 PST 2021


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 at kernel.org 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@arm.com/
[2] https://lore.kernel.org/all/fd65eb63-d4ca-2105-74cb-c717ad2eb7d3@arm.com/

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




More information about the linux-arm-kernel mailing list