summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-09-02 13:03:11 -1000
committerTejun Heo <tj@kernel.org>2026-09-08 09:28:32 -1000
commit22098e3b6f7260860d61523a8dc2964b40559763 (patch)
tree23941b10bfd69196984097542bd92a17ddc44cdd /tools/perf/scripts/python/bin/stackcollapse-record
parent93fccdb0456d963f0a7c515562eaf53dfe07f9c7 (diff)
downloadlinux-next-22098e3b6f7260860d61523a8dc2964b40559763.tar.gz
linux-next-22098e3b6f7260860d61523a8dc2964b40559763.zip
cgroup: Return -ENODEV consistently for a dead cgroup
cgroup_kn_lock_live() returns NULL when the cgroup behind a kernfs node has already been removed. Most callers turn that into -ENODEV, but the cgroup.type, cgroup.max.descendants, cgroup.max.depth, cgroup.pressure, cgroup.freeze and cgroup.kill writers return -ENOENT. The divergence is accidental. Return -ENODEV from all of them, matching cgroup.procs and cgroup.subtree_control. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions