summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-09-01 13:01:17 -0600
committerJens Axboe <axboe@kernel.dk>2021-09-02 11:12:16 -0600
commit05c5f4ee4da7086cceacc78bf3a080e314c241fa (patch)
tree40b4e0b40f69458897cab7ba70edba0e1894b639 /tools/perf/scripts/python/exported-sql-viewer.py
parent15e20db2e0cecce0bfc6a67b69e55020fe9cda00 (diff)
io-wq: get rid of FIXED worker flag
It makes the logic easier to follow if we just get rid of the fixed worker flag, and simply ensure that we never exit the last worker in the group. This also means that no particular worker is special. Just track the last timeout state, and if we have hit it and no work is pending, check if there are other workers. If yes, then we can exit this one safely. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions