aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2023-01-14 13:52:51 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-01-19 13:42:06 -0300
commit1962ab6f6e0b39e4216206205bda14aff87705f3 (patch)
treec2fc06a3070b5a4956507595c00b5967eb1b89f3 /tools/perf/scripts/python
parentperf debug: Increase libtraceevent logging when verbose (diff)
downloadlinux-1962ab6f6e0b39e4216206205bda14aff87705f3.tar.gz
linux-1962ab6f6e0b39e4216206205bda14aff87705f3.zip
perf test workload thloop: Make count increments atomic
The count variable is incremented by multiple threads, doing so without an atomic operation causes thread sanitizer warnings. Switch to using relaxed atomics. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> 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/20230114215251.271678-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions