summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRonald Tschalär <ronald@innovation.ch>2021-02-19 11:10:51 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-02-19 11:13:27 -0800
commit0ce1ac23149c6da939a5926c098c270c58c317a0 (patch)
treeca98504956f52524313cff5d0bb6effbdcfb8688 /tools/perf/scripts/python/export-to-sqlite.py
parent836f308cb5c72d48e2dff8d3e64c3adb94f4710d (diff)
Input: applespi - don't wait for responses to commands indefinitely.
The response to a command may never arrive or it may be corrupted (and hence dropped) for some reason. While exceedingly rare, when it did happen it blocked all further commands. One way to fix this was to do a suspend/resume. However, recovering automatically seems like a nicer option. Hence this puts a time limit (1 sec) on how long we're willing to wait for a response, after which we assume it got lost. Signed-off-by: Ronald Tschalär <ronald@innovation.ch> Link: https://lore.kernel.org/r/20210217190718.11035-1-ronald@innovation.ch Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions