summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-09-02 13:03:12 -1000
committerTejun Heo <tj@kernel.org>2026-09-08 09:28:39 -1000
commit67499cd07ba93dc643ca5624b7dc947f0354ace2 (patch)
tree9d0452d2e6d34e79096f6551c5943d23f8d4f6d6 /tools/perf/scripts/python
parent22098e3b6f7260860d61523a8dc2964b40559763 (diff)
downloadlinux-next-67499cd07ba93dc643ca5624b7dc947f0354ace2.tar.gz
linux-next-67499cd07ba93dc643ca5624b7dc947f0354ace2.zip
cgroup: Return ERR_PTR from cgroup_kn_lock_live()
cgroup_kn_lock_live() returns NULL when the cgroup is dead and the callers translate that into an errno themselves. Return ERR_PTR(-ENODEV) instead and have the callers pass the errno through, so that failures other than a dead cgroup can be reported through the same return value. No functional change. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions