James Clark 20ebc4a649 perf test: Fix skipping branch stack sampling test
Commit f4a2aade6809c657 ("perf tests powerpc: Fix branch stack sampling
test to include sanity check for branch filter") added a skip if certain
branch options aren't available.

But the change added both -b (--branch-any) and --branch-filter options
at the same time, which will always result in a failure on any platform
because the arguments can't be used together.

Fix this by removing -b (--branch-any) and leaving --branch-filter which
already specifies 'any'. Also add warning messages to the test and perf
tool.

Output on x86 before this fix:

   $ sudo ./perf test branch
   108: Check branch stack sampling         : Skip

After:

   $ sudo ./perf test branch
   108: Check branch stack sampling         : Ok

Fixes: f4a2aade6809c657 ("perf tests powerpc: Fix branch stack sampling test to include sanity check for branch filter")
Signed-off-by: James Clark <james.clark@arm.com>
Tested-by: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Anshuman.Khandual@arm.com
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221028121913.745307-1-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-11-08 17:59:14 -03:00
..
2022-01-12 17:01:38 -08:00
2022-06-28 12:05:25 -03:00
2022-10-04 08:55:21 -03:00
2022-10-04 08:55:21 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2021-09-03 08:15:10 -03:00
2021-04-29 10:30:58 -03:00
2021-08-11 09:35:44 -03:00
2022-10-04 08:55:20 -03:00
2022-06-23 11:54:22 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2022-10-06 08:03:52 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2021-11-07 12:27:38 -03:00
2021-02-03 13:10:44 -03:00
2022-07-26 16:31:54 -03:00
2021-07-15 17:30:22 -03:00
2022-02-14 16:56:32 -03:00
2022-10-04 08:55:22 -03:00
2021-11-07 12:27:38 -03:00
2022-10-04 08:55:21 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2020-10-14 13:34:26 -03:00
2021-02-17 15:15:06 -03:00
2022-10-04 08:55:23 -03:00
2022-06-23 11:54:22 -03:00
2022-10-04 08:55:20 -03:00