Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:34:59 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return an optimized kprobe whose optimizing code replaces* instructions including addr (exclude breakpoint).
Proto:static struct kprobe *get_optimized_kprobe(unsigned long addr)
Type:struct kprobe
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr |
| 449 | If p && Return true(!0) if the kprobe is ready for optimization. Then |
| 451 | If Check the addr is within the optimized instructions. Then Return p |
| 455 | Return NULL |
| Name | Describe |
|---|---|
| __arm_kprobe | Put a breakpoint for a probe. Must be called with text_mutex locked |
| __disarm_kprobe | Remove the breakpoint of a probe. Must be called with text_mutex locked |
| 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 |