aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2021-08-09 19:14:00 +0800
committerMathieu Poirier <[email protected]>2021-10-27 11:44:36 -0600
commit26701ceb4c2c6bfa5f8c8984fa1a1ea08fa0f02c (patch)
tree1a6e53f4871c2945f0d165b66569a1d274a526e5 /scripts/gdb/linux/utils.py
parent4d5d88baa6c838bf92ed6a63c50dd3167c5a4956 (diff)
coresight: tmc-etr: Add barrier after updating AUX ring buffer
Since a memory barrier is required between AUX trace data store and aux_head store, and the AUX trace data is filled with memcpy(), it's sufficient to use smp_wmb() so can ensure the trace data is visible prior to updating aux_head. Signed-off-by: Leo Yan <[email protected]> Reviewed-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Suzuki K Poulose <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions