Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:46 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check passed kprobe is valid and return kprobe in kprobe_table.
Proto:static struct kprobe *__get_valid_kprobe(struct kprobe *p)
Type:struct kprobe
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kprobe * | p |
| 1502 | ap = This routine is called either:* - under the kprobe_mutex - during kprobe_[un]register()* OR* - with preemption disabled - from arch/xxx/kernel/kprobes.c |
| 1503 | If Value for the false possibility is greater at compile time(!ap) Then Return NULL |
| 1511 | Return NULL |
| 1513 | valid : |
| 1514 | Return ap |
| Name | Describe |
|---|---|
| check_kprobe_rereg | Return error if the kprobe is being re-registered |
| __disable_kprobe | Disable one kprobe: Make sure called under kprobe_mutex is locked |
| enable_kprobe | Enable one kprobe |
| 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 |