diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-02-04 22:30:04 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-02-09 20:27:29 +0300 |
commit | 7211f0a25781ace5f79b272318b4c60b5dcfd413 (patch) | |
tree | 04b6f10a7566c162fb398c35a45b567445aa58f1 /include/linux/build-salt.h | |
parent | d9a1be1be331fc857d3fe29f86c3a305950b35a9 (diff) | |
download | linux-7211f0a25781ace5f79b272318b4c60b5dcfd413.tar.xz |
tracepoints: Code clean up
Restructure the code a bit to make it simpler, fix some formatting problems
and add READ_ONCE/WRITE_ONCE to make sure there's no compiler load/store
tearing to the variables that can be accessed across CPUs.
Started with Mathieu Desnoyers's patch:
Link: https://lore.kernel.org/lkml/20210203175741.20665-1-mathieu.desnoyers@efficios.com/
And will keep his signature, but I will take the responsibility of this
being correct, and keep the authorship.
Link: https://lkml.kernel.org/r/20210204143004.61126582@gandalf.local.home
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/build-salt.h')
0 files changed, 0 insertions, 0 deletions