]> git.itanic.dy.fi Git - linux-stable/commit
perf test test_intel_pt.sh: Test sample mode with event with PMU name
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 8 May 2023 09:39:51 +0000 (12:39 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 10 May 2023 17:19:20 +0000 (14:19 -0300)
commita468085011ea8bba7fc605a5423d6edaf46d35cf
tree327b78b044468603343c22578abbcbe7dc71ba8e
parent123361659fa405de8e21bff485fe22a65d85e64e
perf test test_intel_pt.sh: Test sample mode with event with PMU name

br_misp_retired.all_branches is supported on processors that support
Intel PT, so use it to test sample mode with an event that has been
given a PMU name.

Please note, the test fails prior to the fix "perf parse-events: Do not
break up AUX event group".

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20230508093952.27482-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/test_intel_pt.sh