summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-06-03 01:51:48 +0300
committerPaul E. McKenney <paulmck@kernel.org>2021-07-27 21:39:30 +0300
commit5b237d650eb8b0870b5d816fecc0be00237cbfff (patch)
tree89fcbca2934f2ee9f1824cfabff34b051381093b /tools/perf/scripts/python/exported-sql-viewer.py
parent811192c5f24bfd7246ce9ce06f668d8c408bf39b (diff)
downloadlinux-5b237d650eb8b0870b5d816fecc0be00237cbfff.tar.xz
locktorture: Mark statistics data races
The lock_stress_stats structure's ->n_lock_fail and ->n_lock_acquired fields are incremented and sampled locklessly using plain C-language statements, which KCSAN objects to. This commit therefore marks the statistics gathering with data_race() to flag the intent. While in the area, this commit also reduces the number of accesses to the ->n_lock_acquired field, thus eliminating some possible check/use confusion. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions