diff options
author | 2019-12-18 20:10:10 +0200 | |
---|---|---|
committer | 2019-12-19 18:15:56 +0200 | |
commit | c715b38473c842db34c408ede2d5727d2b50cf1c (patch) | |
tree | 0f236d10981bbb544ce5d978dffc7b367ced7631 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | wil6210: minimize the time that mem_lock is held (diff) | |
download | linux-dev-c715b38473c842db34c408ede2d5727d2b50cf1c.tar.xz linux-dev-c715b38473c842db34c408ede2d5727d2b50cf1c.zip |
wil6210: take mem_lock for writing in crash dump collection
On some crash dump cases mem_lock is already taken, error
returns and crash dump copy fails.
In this case wait until mem_lock available instead of failing
the operation.
Also take the mem_lock for writing to prevent other threads from
altering the state of the device while collecting crash dump.
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions