| Function report | 
| Source Code: kernel\bpf\cgroup.c | Create Date:2022-07-28 13:27:51 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cgroup_bpf_prog_detach
Proto:int cgroup_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const union bpf_attr * | attr | |
| enum bpf_prog_type | ptype | 
| 572 | prog = bpf_prog_get_type( eBPF program to attach , ptype) | 
| 576 | ret = cgroup_bpf_detach(cgrp, prog, attach_type, 0) | 
| 577 | If prog Then bpf_prog_put(prog) | 
| 580 | cgroup_put(cgrp) | 
| 581 | Return ret | 
| Name | Describe | 
|---|---|
| bpf_prog_detach | 
| 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 |