Skip to content

perf arm-spe: Add snapshot mode support

German Gomez linux-arm-kernel linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 4 repliesIn review

Changes in v2 from the cover letter

- Added [email protected] 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/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf arm-spe: Add snapshot mode supporttools/perf/arch/arm64/util/arm-spe.c+130 -00 replies
2/3perf arm-spe: Implement find_snapshot callbacktools/perf/arch/arm64/util/arm-spe.c+145 -00 replies
3/3perf arm-spe: Snapshot mode testtools/perf/tests/shell/test_arm_spe.sh+89 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJames ClarkLeo YanNamhyung Kim
SeriesA-b
1/3R-b R-b T-b
2/3R-b R-b T-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

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

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 [email protected] 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/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

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
Signature · 1 line
2.25.1