函数逻辑报告 | 
Source Code:kernel\kprobes.c | 
Create Date:2022-07-27 12:38:33 | 
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:collect_garbage_slots
函数原型:static int collect_garbage_slots(struct kprobe_insn_cache *c)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct kprobe_insn_cache * | c | 
| 223 | 如果ngarbage恒等于0则继续下一循环 | 
| 225 | ngarbage等于0 | 
| 226 | 以i小于slots_per_page(c)循环 | 
| 231 | nr_garbage等于0 | 
| 232 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| __get_insn_slot | __get_insn_slot() - Find a slot on an executable page for an instruction.* We allocate an executable page if there's no room on existing ones. | 
| __free_insn_slot | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |