aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorEddie James <[email protected]>2022-02-08 09:22:35 -0600
committerJoel Stanley <[email protected]>2022-02-21 19:37:03 +1030
commit3dcf3c84f5832c55d456819fe3cfbe1642b73ca8 (patch)
tree26e9388d73f18c3a7cb101d933c86d0106ce170e /tools/perf/scripts/python/syscall-counts.py
parentab1b79159ad5a6dc4e4994b49737f7feb13b7155 (diff)
fsi: occ: Improve response status checking
If the driver sequence number coincidentally equals the previous command response sequence number, the driver may proceed with fetching the entire buffer before the OCC has processed the current command. To be sure the correct response is obtained, check the command type and also retry if any of the response parameters have changed when the rest of the buffer is fetched. Also initialize the driver with a random sequence number in order to reduce the chances of this happening. Signed-off-by: Eddie James <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joel Stanley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions