diff options
author | Peter Zijlstra <[email protected]> | 2019-05-17 13:52:33 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-05-24 09:00:11 +0200 |
commit | 4d839dd9e4356bbacf3eb0ab13a549b83b008c21 (patch) | |
tree | 292041201ff781e82df44f9f6a5a60654c8f2ebe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3f9fbe9bd86c534eba2faf5d840fd44c6049f50e (diff) |
perf/ring-buffer: Always use {READ,WRITE}_ONCE() for rb->user_page data
We must use {READ,WRITE}_ONCE() on rb->user_page data such that
concurrent usage will see whole values. A few key sites were missing
this.
Suggested-by: Yabin Cui <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Fixes: 7b732a750477 ("perf_counter: new output ABI - part 1")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions