Skip to content

perf test: Add branch stack sampling tests for ARM64

German Gomez linux-arm-kernel linux-perf-users lkml llvm oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1perf test: Add branch stack sampling tests for ARM64tools/perf/tests/shell/test_arm_brbe_kernel.sh tools/perf/tests/shell/test_arm_brbe_userspace.sh+122 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] perf test: Add branch stack sampling tests for ARM64

Adds testing of branch stack sampling on ARM64. Branch stack sampling is supported by the Branch Record Buffer Extension (BRBE). In order to run the tests, the Kernel must have BRBE support enabled.

At the time of writing, BRBE support in the Kernel is provided by the patches in RFC [1]. If BRBE support is not detected, the tests will be skipped.

Information about BRBE can be found in [2].

[1]: https://lore.kernel.org/all/[email protected]/
[2]: https://developer.arm.com/documentation/ddi0608/latest

German Gomez (1):
perf test: Add branch stack sampling tests for ARM64

 .../perf/tests/shell/test_arm_brbe_kernel.sh  | 42 ++++++++++
 .../tests/shell/test_arm_brbe_userspace.sh    | 80 +++++++++++++++++++
 2 files changed, 122 insertions(+)
 create mode 100755 tools/perf/tests/shell/test_arm_brbe_kernel.sh
 create mode 100755 tools/perf/tests/shell/test_arm_brbe_userspace.sh
Signature · 1 line
2.25.1