Lines Matching refs:cgroup

4 bpftool-cgroup
17 **bpftool** [*OPTIONS*] **cgroup** *COMMAND*
27 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**]
28 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
29 | **bpftool** **cgroup attach** *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*]
30 | **bpftool** **cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG*
31 | **bpftool** **cgroup help**
49 **bpftool cgroup { show | list }** *CGROUP* [**effective**]
50 List all programs attached to the cgroup *CGROUP*.
56 will execute for events within a cgroup. This includes
59 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**]
62 bpftool uses cgroup v2 mountpoint.
64 The output is similar to the output of cgroup show/list
65 commands: it starts with absolute cgroup path, followed by
69 will execute for events within a cgroup. This includes
72 **bpftool cgroup attach** *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*]
73 Attach program *PROG* to the cgroup *CGROUP* with attach type
76 *ATTACH_FLAGS* can be one of: **override** if a sub-cgroup installs
77 some bpf program, the program in this cgroup yields to sub-cgroup
78 program; **multi** if a sub-cgroup installs some bpf program,
79 that cgroup program gets run in addition to the program in this
80 cgroup.
82 Only one program is allowed to be attached to a cgroup with
86 Multiple programs are allowed to be attached to a cgroup with
122 **bpftool cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG*
123 Detach *PROG* from the cgroup *CGROUP* and attach type
140 | **# mkdir /sys/fs/cgroup/test.slice**
142 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
144 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
152 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
153 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**