summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-02-25 21:52:56 +0300
committerJens Axboe <axboe@kernel.dk>2020-02-25 23:23:48 +0300
commit2d141dd2caa78fbaf87b57c27769bdc14975ab3d (patch)
tree4aed9d6c4febd91e6ec7d4139937897140b58fd0 /tools/perf/scripts/python/stackcollapse.py
parent3030fd4cb783377eca0e2a3eee63724a5c66ee15 (diff)
downloadlinux-2d141dd2caa78fbaf87b57c27769bdc14975ab3d.tar.xz
io-wq: ensure work->task_pid is cleared on init
We use ->task_pid for exit cancellation, but we need to ensure it's cleared to zero for io_req_work_grab_env() to do the right thing. Take a suggestion from Bart and clear the whole thing, just setting the function passed in. This makes it more future proof as well. Fixes: 36282881a795 ("io-wq: add io_wq_cancel_pid() to cancel based on a specific pid") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions