Function report | 
Source Code:kernel\bpf\cgroup.c | 
Create Date:2022-07-28 13:27:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:update_effective_progs
Proto:static int update_effective_progs(struct cgroup *cgrp, enum bpf_attach_type type)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup * | cgrp | |
| enum bpf_attach_type | type | 
| 263 | Continue | 
| 266 | activate_effective_progs(desc, type, temp storage for effective prog array used by prog_attach/detach ) | 
| 270 | Return 0 | 
| 272 | cleanup : | 
| 283 | Return err | 
| Name | Describe | 
|---|---|
| __cgroup_bpf_attach | __cgroup_bpf_attach() - Attach the program to a cgroup, and* propagate the change to descendants*@cgrp: The cgroup which descendants to traverse*@prog: A program to attach*@type: Type of attach operation*@flags: Option flags | 
| __cgroup_bpf_detach | __cgroup_bpf_detach() - Detach the program from a cgroup, and* propagate the change to descendants*@cgrp: The cgroup which descendants to traverse*@prog: A program to detach or NULL*@type: Type of detach operation* Must be called with cgroup_mutex held. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |