aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-02-26 09:47:20 -0700
committerJens Axboe <axboe@kernel.dk>2021-03-04 06:32:33 -0700
commitfb3a1f6c745ccd896afadf6e2d6f073e871d38ba (patch)
tree01937fa6ddfcf326fb284a60966a02e8e2ad376b /tools/perf/scripts/python/export-to-sqlite.py
parent65d43023171edc0d27208f6ac7a1a73732950cf7 (diff)
io-wq: have manager wait for all workers to exit
Instead of having to wait separately on workers and manager, just have the manager wait on the workers. We use an atomic_t for the reference here, as we need to start at 0 and allow increment from that. Since the number of workers is naturally capped by the allowed nr of processes, and that uses an int, there is no risk of overflow. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions