original_kernel/tools/perf/tests/workloads
James Clark 256ef072b3 perf tests: Make "test data symbol" more robust on Neoverse N1
To prevent anyone from seeing a test failure appear as a regression and
thinking that it was caused by their code change, insert some noise into
the loop which makes it immune to sampling bias issues (errata 1694299).

The "test data symbol" test can fail with any unrelated change that
shifts the loop into an unfortunate position in the Perf binary which is
almost impossible to debug as the root cause of the test failure.
Ultimately it's caused by the referenced errata.

Fixes: 60abedb8aa ("perf test: Introduce script for data symbol testing")
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: James Clark <james.clark@arm.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linux.dev>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Spoorthy S <spoorts2@in.ibm.com>
Link: https://lore.kernel.org/r/20240410103458.813656-2-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2024-04-12 12:02:05 -03:00
..
Build perf test: Add 'datasym' test workload 2022-11-23 10:29:21 -03:00
brstack.c perf test: Add 'brstack' test workload 2022-11-23 10:28:01 -03:00
datasym.c perf tests: Make "test data symbol" more robust on Neoverse N1 2024-04-12 12:02:05 -03:00
leafloop.c perf test: Add 'leafloop' test workload 2022-11-23 10:24:59 -03:00
noploop.c
sqrtloop.c perf test: Add 'sqrtloop' test workload 2022-11-23 10:26:27 -03:00
thloop.c perf test: Remove atomics from test_loop to avoid test failures 2023-11-27 10:21:06 -03:00