perf test: Add test for branch stack sampling
authorGerman Gomez <german.gomez@arm.com>
Tue, 5 Jul 2022 15:05:11 +0000 (16:05 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2022 11:55:36 +0000 (08:55 -0300)
commitb55878c90ab92a244b7b044a9e64aef5b75783e7
tree0ae5d0b01d033bae93be05dc78218950b6aa1cc3
parent29d97deed6424d8dfac6797910d6920fb8aad33c
perf test: Add test for branch stack sampling

Add a self test for branch stack sampling, to check that we get the
expected branch types, and filters behave as expected.

Suggested-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: German Gomez <german.gomez@arm.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220705150511.473919-2-german.gomez@arm.com
Tested-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/test_brstack.sh [new file with mode: 0755]