diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2024-08-05 00:43:04 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-05 10:32:16 -1000 |
commit | 4980f712023a1c0c26a12f5212ced34587d81663 (patch) | |
tree | c2f690efda762b9c5ac1072e26769cb741d2a5cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 563ea1f5f85171b68f9075f5c3c22c4b521f1b5e (diff) |
cgroup/pids: Remove unreachable paths of pids_{can,cancel}_fork
According to the implementation of cgroup_css_set_fork(), it will fail
if cset cannot be found and the can_fork/cancel_fork methods will not
be called in this case, which means that the argument 'cset' for these
methods must not be NULL, so remove the unrechable paths in them.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions