Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:33 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void kprobe_flush_task(struct task_struct *tk)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tk |
| 1250 | flags = 0 |
| 1252 | If Value for the false possibility is greater at compile time(!kprobes_initialized) Then Return |
| 1256 | INIT_HLIST_HEAD( & empty_rp) |
| 1257 | hash = hash_ptr(tk, KPROBE_HASH_BITS) |
| 1258 | head = kretprobe_inst_table[hash] |
| 1259 | kretprobe_table_lock(hash, & flags) |
| 1261 | If task == tk Then recycle_rp_inst(ri, & empty_rp) |
| 1264 | kretprobe_table_unlock(hash, & flags) |
| 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 |