aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-04-08 11:44:50 +0200
committerJens Axboe <[email protected]>2021-04-11 19:30:40 -0600
commite0051d7d18e0b3e25195ab332beea1a1a2fba5ca (patch)
tree10b9dbeb549c4f60a681525901a725205e127f4c /tools/perf/scripts/python
parentcb3b200e4f66524d03d6410dd51bcf42f265a4d0 (diff)
io-wq: Fix io_wq_worker_affinity()
Do not include private headers and do not frob in internals. On top of that, while the previous code restores the affinity, it doesn't ensure the task actually moves there if it was running, leading to the fun situation that it can be observed running outside of its allowed mask for potentially significant time. Use the proper API instead. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions