perf test: Add skip to --per-thread test
authorIan Rogers <irogers@google.com>
Thu, 5 May 2022 18:25:05 +0000 (11:25 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 May 2022 18:15:05 +0000 (15:15 -0300)
commit280c36d26eb80ec674df1648034b0ad2df5b0cff
tree034e09e31412ad98e923df036df918786985df7d
parent33cd6928039c6bf18cf0baec936924d908e6c89b
perf test: Add skip to --per-thread test

As reported in:
https://lore.kernel.org/linux-perf-users/20220428122821.3652015-1-tmricht@linux.ibm.com/
the 'instructions:u' event may not be supported. Add a skip using 'perf
record'.

Switch some code away from pipe to make the failures clearer.

Reported-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Link: https://lore.kernel.org/r/20220505182505.3313191-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record.sh