Re: [PATCH 0/3] perf test: Extend branch stack sampling test for arm64 BRBE

From: Ian Rogers
Date: Mon Aug 18 2025 - 17:39:51 EST


On Wed, Aug 13, 2025 at 6:39 AM James Clark <james.clark@xxxxxxxxxx> wrote:
>
> Refactor and add some extra tests for all platforms which were useful
> when developing and testing the BRBE (Branch Buffer Extension) driver
> [1]. Then lastly extend the test for new features which are BRBE
> specific.
>
> Tested on the Arm FVP RevC model [2] and Intel Raptor Lake.
>
> [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=58074a0fce66
> [2]: https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms
>
> Signed-off-by: James Clark <james.clark@xxxxxxxxxx>

Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>

Thanks,
Ian

> ---
> James Clark (3):
> perf test: Refactor brstack test
> perf test: Add syscall and address tests to brstack test
> perf test: Extend branch stack sampling test for Arm64 BRBE
>
> tools/perf/tests/builtin-test.c | 1 +
> tools/perf/tests/shell/test_brstack.sh | 106 ++++++++++++++++++++++++++++++---
> tools/perf/tests/tests.h | 1 +
> tools/perf/tests/workloads/Build | 2 +
> tools/perf/tests/workloads/traploop.c | 31 ++++++++++
> 5 files changed, 132 insertions(+), 9 deletions(-)
> ---
> base-commit: 6235ce77749f45cac27f630337e2fdf04e8a6c73
> change-id: 20250811-james-brbe-test-f5a20dffd734
>
> Best regards,
> --
> James Clark <james.clark@xxxxxxxxxx>
>