perf intel-pt: Add a test for system-wide side band
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 24 May 2022 07:54:22 +0000 (10:54 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 May 2022 15:36:56 +0000 (12:36 -0300)
commit1097b38fb7583789ac5e33f3fefb1404bd087f99
treec45b2998543cb0c826e6cfd419bef6e7ea5069c7
parentdf76e0038370d364d4b2154fa7ddbbccc29f629f
perf intel-pt: Add a test for system-wide side band

Add a test for system-wide side band even when tracing selected CPUs.

The test fails before the patches up to "perf tools: Allow system-wide
events to keep their own CPUs" are applied, passes afterwards.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Ian Rogers <irogers@google.com>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Link: https://lore.kernel.org/r/20220524075436.29144-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/test_intel_pt.sh [new file with mode: 0755]