aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2024-08-05 00:43:04 +0000
committerTejun Heo <[email protected]>2024-08-05 10:32:16 -1000
commit4980f712023a1c0c26a12f5212ced34587d81663 (patch)
treec2f690efda762b9c5ac1072e26769cb741d2a5cf /tools/perf/scripts/python/intel-pt-events.py
parent563ea1f5f85171b68f9075f5c3c22c4b521f1b5e (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 <[email protected]> Reviewed-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions