commit | 7211f0a25781ace5f79b272318b4c60b5dcfd413 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Feb 04 14:30:04 2021 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Feb 09 12:27:29 2021 -0500 |
tree | 04b6f10a7566c162fb398c35a45b567445aa58f1 | |
parent | d9a1be1be331fc857d3fe29f86c3a305950b35a9 [diff] |
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>