| Function report | 
| Source Code: arch\x86\kernel\kprobes\opt.c | Create Date:2022-07-28 08:39:10 | 
| Last Modify:2022-05-22 07:44:06 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__recover_optprobed_insn
Proto:unsigned long __recover_optprobed_insn(kprobe_opcode_t *buf, unsigned long addr)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| kprobe_opcode_t * | buf | |
| unsigned long | addr | 
| 41 | When i < RELATIVEJUMP_SIZE cycle | 
| 44 | If kp && Is this kprobe really running optimized path ? Then | 
| 47 | If list_empty - tests whether a list is empty*@head: the list to test. Then Go to found | 
| 52 | Return addr | 
| 53 | found : | 
| 63 | If addr == location of the probe point Then | 
| 65 | memcpy(buf + 1, copied_insn, RELATIVE_ADDR_SIZE) | 
| 66 | Else | 
| 67 | offs = addr - location of the probe point - 1 | 
| 71 | Return buf | 
| 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 |