diff options
author | 2021-08-09 19:14:01 +0800 | |
---|---|---|
committer | 2021-10-27 11:44:43 -0600 | |
commit | bd8d06886d0a9b59d020fdb2496c76db77816768 (patch) | |
tree | 9ab9cd257deee2d018734e0cc29c654b387ef9f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | coresight: tmc-etr: Add barrier after updating AUX ring buffer (diff) | |
download | wireguard-linux-bd8d06886d0a9b59d020fdb2496c76db77816768.tar.xz wireguard-linux-bd8d06886d0a9b59d020fdb2496c76db77816768.zip |
coresight: tmc-etf: Add comment for store ordering
Since the function CS_LOCK() has contained memory barrier mb(), it
ensures the visibility of the AUX trace data before updating the
aux_head, thus it's needless to add any explicit barrier anymore.
Add comment to make clear for the barrier usage for ETF.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Link: https://lore.kernel.org/r/20210809111407.596077-4-leo.yan@linaro.org
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions