Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:13 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate new optimized_kprobe and try to prepare optimized instructions
Proto:static struct kprobe *alloc_aggr_kprobe(struct kprobe *p)
Type:struct kprobe
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kprobe * | p |
| 784 | op = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 785 | If Not op Then Return NULL |
| 790 | __prepare_optimized_kprobe(op, p) |
| 792 | Return kp |
| Name | Describe |
|---|---|
| try_to_optimize_kprobe | Prepare an optimized_kprobe and optimize it* NOTE: p must be a normal registered kprobe |
| register_aggr_kprobe | This is the second or subsequent kprobe at the address - handle* the intricacies |
| 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 |