函数逻辑报告 |
Source Code:kernel\kprobes.c |
Create Date:2022-07-27 12:39:14 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:recycle_rp_inst
函数原型:void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kretprobe_instance * | ri | |
| struct hlist_head * | head |
| 1185 | INIT_HLIST_NODE( & hlist) |
| 1186 | 如果此条件成立可能性大(为编译器优化)(rp)则 |
| 1187 | raw_spin_lock( & lock) |
| 1188 | hlist_add_head( & hlist, & free_instances) |
| 1189 | raw_spin_unlock( & lock) |
| 1190 | 否则hlist_add_head( & hlist, head) |
| 名称 | 描述 |
|---|---|
| kprobe_flush_task | This function is called from finish_task_switch when task tk becomes dead,* so that we can recycle any function-return probe instances associated* with this task. These left over instances represent probed functions |
| trampoline_handler | Called from kretprobe_trampoline |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |