[PATCH v2 0/1] perf test: Add test for branch stack sampling

German Gomez posted 1 patch 3 years, 9 months ago
tools/perf/tests/shell/test_brstack.sh | 114 +++++++++++++++++++++++++
1 file changed, 114 insertions(+)
create mode 100755 tools/perf/tests/shell/test_brstack.sh
[PATCH v2 0/1] perf test: Add test for branch stack sampling
Posted by German Gomez 3 years, 9 months ago
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 will 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
also be useful for x86.

Thanks,
German

[1] https://lore.kernel.org/linux-arm-kernel/20220610035101.424112-1-anshuman.khandual@arm.com/
[2] https://lore.kernel.org/all/20220613100119.684673-1-anshuman.khandual@arm.com/

---

v2
  - (Ian Rogers) Include C test program in the shell script.
  - Drop references to Anshuman's ABI ext (FAULT_DATA and FAULT_INST).
    We will track and update this later if necessary.

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

 tools/perf/tests/shell/test_brstack.sh | 114 +++++++++++++++++++++++++
 1 file changed, 114 insertions(+)
 create mode 100755 tools/perf/tests/shell/test_brstack.sh

-- 
2.25.1