summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2025-03-30 17:52:41 -0400
committerTejun Heo <tj@kernel.org>2025-03-31 13:25:38 -1000
commit8bf450f3aec3d1bbd725d179502c64b8992588e4 (patch)
tree5d8483865ae440162c5a5f52b321db241f1d50d5 /tools/perf/scripts/python/task-analyzer.py
parent668e041662e92ab3ebcb9eb606d3ec01884546ab (diff)
cgroup/cpuset: Fix error handling in remote_partition_disable()
When remote_partition_disable() is called to disable a remote partition, it always sets the partition to an invalid partition state. It should only do so if an error code (prs_err) has been set. Correct that and add proper error code in places where remote_partition_disable() is called due to error. Fixes: 181c8e091aae ("cgroup/cpuset: Introduce remote partition") Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions