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(-)
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@linaro.org> --- 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@linaro.org>
On Wed, Aug 13, 2025 at 6:39 AM James Clark <james.clark@linaro.org> 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@linaro.org> Reviewed-by: Ian Rogers <irogers@google.com> 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@linaro.org> >
On 18/08/2025 10:38 pm, Ian Rogers wrote: > On Wed, Aug 13, 2025 at 6:39 AM James Clark <james.clark@linaro.org> 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@linaro.org> > > Reviewed-by: Ian Rogers <irogers@google.com> > > Thanks, > Ian > Hi Arnaldo, If you have a chance can you take this one please. It still applies cleanly to perf-tools-next. Thanks James >> --- >> 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@linaro.org> >>
On Wed, Oct 01, 2025 at 02:49:08PM +0100, James Clark wrote: > On 18/08/2025 10:38 pm, Ian Rogers wrote: > > On Wed, Aug 13, 2025 at 6:39 AM James Clark <james.clark@linaro.org> 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@linaro.org> > > Reviewed-by: Ian Rogers <irogers@google.com> > Hi Arnaldo, > > If you have a chance can you take this one please. It still applies cleanly > to perf-tools-next. Thanks, applied to perf-tools-next, - Arnaldo
© 2016 - 2025 Red Hat, Inc.