diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-10-10 02:42:37 +0300 |
---|---|---|
committer | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2024-12-14 18:38:23 +0300 |
commit | 0203b485d26d5b403ff4ed21e4cc85ba9ec0fe67 (patch) | |
tree | 41a9c48c1e073a4370f998f0d78daf175706c67f /tools/perf/scripts/python/task-analyzer.py | |
parent | fac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff) | |
download | linux-0203b485d26d5b403ff4ed21e4cc85ba9ec0fe67.tar.xz |
torture: Add dowarn argument to torture_sched_setaffinity()
Current use cases of torture_sched_setaffinity() are well served by its
unconditional warning on error. However, an upcoming use case for a
preemption kthread needs to avoid warnings that might otherwise arise
when that kthread attempted to bind itself to a CPU on its way offline.
This commit therefore adds a dowarn argument that, when false, suppresses
the warning.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions