Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:28 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:recycle_rp_inst
Proto:void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kretprobe_instance * | ri | |
| struct hlist_head * | head |
| 1185 | INIT_HLIST_NODE( & hlist) |
| 1186 | If Value is more likely to compile time(rp) Then |
| 1187 | raw_spin_lock( & lock) |
| 1188 | hlist_add_head( & hlist, & free_instances) |
| 1189 | raw_spin_unlock( & lock) |
| 1190 | Else hlist_add_head( & hlist, head) |
| Name | Describe |
|---|---|
| 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 |
| 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 |