函数逻辑报告 |
Source Code:kernel\bpf\trampoline.c |
Create Date:2022-07-27 14:33:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__bpf_prog_exit
函数原型:void notrace __bpf_prog_exit(struct bpf_prog *prog, u64 start)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bpf_prog * | prog | |
| u64 | start |
| 281 | 如果static_branch_unlikely( & bpf_stats_enabled_key)且start则 |
| 288 | stats等于this_cpu_ptr(stats) |
| 289 | u64_stats_update_begin( & syncp) |
| 290 | cnt自加 |
| 291 | nsecs加等于sched_clock()减start |
| 292 | u64_stats_update_end( & syncp) |
| 294 | 禁用抢占和中断() |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |