diff options
| author | Nick Forrington <[email protected]> | 2023-11-02 16:22:24 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-11-27 13:21:06 +0000 |
| commit | 72b4ca7e993e94f09bcf6d19fc385a2e8060c71f (patch) | |
| tree | 8e11cd1f21e399cb9e896aff6d7393de072ae09b /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf tools: Address python 3.6 DeprecationWarning for string scapes (diff) | |
| download | kernel-72b4ca7e993e94f09bcf6d19fc385a2e8060c71f.tar.gz kernel-72b4ca7e993e94f09bcf6d19fc385a2e8060c71f.zip | |
perf test: Remove atomics from test_loop to avoid test failures
The current use of atomics can lead to test failures, as tests (such as
tests/shell/record.sh) search for samples with "test_loop" as the
top-most stack frame, but find frames related to the atomic operation
(e.g. __aarch64_ldadd4_relax).
This change simply removes the "count" variable, as it is not necessary.
Fixes: 1962ab6f6e0b39e4 ("perf test workload thloop: Make count increments atomic")
Reviewed-by: James Clark <[email protected]>
Signed-off-by: Nick Forrington <[email protected]>
Acked-by: Leo Yan <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
