函数逻辑报告 |
Source Code:kernel\bpf\cgroup.c |
Create Date:2022-07-27 14:45:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:update_effective_progs
函数原型:static int update_effective_progs(struct cgroup *cgrp, enum bpf_attach_type type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cgroup * | cgrp | |
| enum bpf_attach_type | type |
| 246 | 如果判断percpu无计数引用则继续下一循环 |
| 258 | 如果判断percpu无计数引用则 |
| 263 | 继续下一循环 |
| 266 | activate_effective_progs(desc, type, temp storage for effective prog array used by prog_attach/detach ) |
| 270 | 返回:0 |
| 272 | cleanup : |
| 283 | 返回:err |
| 名称 | 描述 |
|---|---|
| __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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |