diff options
author | 2021-03-24 00:04:46 +0300 | |
---|---|---|
committer | 2021-04-01 19:58:22 +0200 | |
commit | 289471984f1c226c9e0e50d31d0db6b3678e6f5a (patch) | |
tree | d01b55ecc1dde7f67c75f6154192a3ecd9ae7baa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | memory: tegra20: Correct comment to MC_STAT registers writes (diff) | |
download | wireguard-linux-289471984f1c226c9e0e50d31d0db6b3678e6f5a.tar.xz wireguard-linux-289471984f1c226c9e0e50d31d0db6b3678e6f5a.zip |
memory: tegra20: Protect debug code with a lock
Simultaneous accesses to MC_STAT h/w shouldn't be allowed since one
collection process stomps on another. There is no good reason for
polling stats in parallel in practice, nevertheless let's add a
protection lock, just for consistency.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210323210446.24867-2-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions