aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2022-06-10 11:01:18 +0300
committerMark Brown <[email protected]>2022-06-10 13:31:46 +0100
commitb66f9e703f0bee4e1aa7010299914b7b2009b4e0 (patch)
treea128cd27136d1528dbb42c3783a25ce15cd7959a /tools/perf/scripts/python/check-perf-trace.py
parent135786c32ed057068bec56f67a54064cfc845bde (diff)
ASoC: SOF: ipc3-dtrace: Add helper function to update the sdev->host_offset
We are using the READ_ONCE() on the debugfs read path for accessing sdev->host_offset, but the set is not atomic or protected in any way. Add a small helper to do the host_offset update and be really paranoid about the a possible race in update Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions