aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArseniy Krasnov <[email protected]>2023-03-26 01:04:50 +0300
committerPaolo Abeni <[email protected]>2023-03-28 12:03:50 +0200
commite3ec366eb0d1d5f7cbe28e747c76180f7d45f00d (patch)
treeb1f15a04c52372e0f22431bf61ff69b1635112bf /tools/perf/scripts/python/export-to-sqlite.py
parentb68ffb1b3bee3762f7579bdcc9ca3d415ed0b9b4 (diff)
virtio/vsock: check argument to avoid no effect call
Both of these functions have no effect when input argument is 0, so to avoid useless spinlock access, check argument before it. Signed-off-by: Arseniy Krasnov <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions