Skip to content

perf test: Add test for branch stack sampling

German Gomez linux-perf-users lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

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 test for branch stack sampling

Hi,

While testing Anshuman Khandual's branch stack sampling ABI, and BRBE driver ([1] and [2] respectively) I've been using this test to check the consistency between arches (x86 and Arm64).

We might extend it with Arm64-specific tests once the BRBE driver has been reviewed and merged, but for now I think this is generic enough to cover both x86 LBR and Arm BRBE.

Thanks,
German

[1] https://lore.kernel.org/linux-arm-kernel/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

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

 tools/perf/tests/shell/lib/brstack/main.h | 15 ++++
 tools/perf/tests/shell/lib/brstack/test.c | 25 +++++++
 tools/perf/tests/shell/test_brstack.sh    | 86 +++++++++++++++++++++++
 3 files changed, 126 insertions(+)
 create mode 100644 tools/perf/tests/shell/lib/brstack/main.h
 create mode 100644 tools/perf/tests/shell/lib/brstack/test.c
 create mode 100755 tools/perf/tests/shell/test_brstack.sh
Signature · 1 line
2.25.1