Skip to content
Commit 35256d67 authored by Yosry Ahmed's avatar Yosry Ahmed Committed by Tejun Heo
Browse files

bpf: cgroup_iter: support cgroup1 using cgroup fd



Use cgroup_v1v2_get_from_fd() in cgroup_iter to support attaching to
both cgroup v1 and v2 using fds.

Signed-off-by: default avatarYosry Ahmed <yosryahmed@google.com>
Acked-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent a6d1ce59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment