aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJames Clark <[email protected]>2023-01-10 11:07:36 +0000
committerSuzuki K Poulose <[email protected]>2023-01-16 10:11:01 +0000
commit479043b778337fe1245ef82609203e83354d3733 (patch)
tree3faf68bf7c6adcade0e49828f40060bc78efa3f9 /tools/perf/scripts/python/bin/export-to-postgresql-report
parenteff674a9b86a6ffdd10c3af3863545acf7f1ce4f (diff)
coresight: cti: Remove atomic type from enable_req_count
enable_req_count is only ever accessed inside the spinlock, so to avoid confusion that there are concurrent accesses and simplify the code, change it to an int. One access outside of the spinlock is in enable_show() which appears to allow partially written data to be displayed between enable_req_count, powered and enabled so move this one inside the spin lock too. Signed-off-by: James Clark <[email protected]> Reviewed-by: Mike Leach <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions