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**
52 bpftool cgroup { show | list } *CGROUP* [effective]
53 List all programs attached to the cgroup *CGROUP*.
59 for events within a cgroup. This includes inherited along with attached
62 bpftool cgroup tree [*CGROUP_ROOT*] [effective]
64 If *CGROUP_ROOT* is not specified, bpftool uses cgroup v2 mountpoint.
66 The output is similar to the output of cgroup show/list commands: it starts
67 with absolute cgroup path, followed by program ID, attach type, attach
71 for events within a cgroup. This includes inherited along with attached
74 bpftool cgroup attach *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*]
75 Attach program *PROG* to the cgroup *CGROUP* with attach type *ATTACH_TYPE*
78 *ATTACH_FLAGS* can be one of: **override** if a sub-cgroup installs some
79 bpf program, the program in this cgroup yields to sub-cgroup program;
80 **multi** if a sub-cgroup installs some bpf program, that cgroup program
81 gets run in addition to the program in this cgroup.
83 Only one program is allowed to be attached to a cgroup with no attach flags
87 Multiple programs are allowed to be attached to a cgroup with **multi**.
124 bpftool cgroup detach *CGROUP* *ATTACH_TYPE* *PROG*
125 Detach *PROG* from the cgroup *CGROUP* and attach type *ATTACH_TYPE*.
141 | **# mkdir /sys/fs/cgroup/test.slice**
143 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
145 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
153 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
154 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**