Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:34:53 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This routine is called either:* - under the kprobe_mutex - during kprobe_[un]register()* OR* - with preemption disabled - from arch/xxx/kernel/kprobes.c
Proto:struct kprobe *get_kprobe(void *addr)
Type:struct kprobe
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | addr |
| 328 | head = kprobe_table[hash_ptr(addr, KPROBE_HASH_BITS)] |
| 330 | If location of the probe point == addr Then Return p |
| 334 | Return NULL |
| Name | Describe |
|---|---|
| kprobe_int3_handler | Interrupts are disabled on entry as trap3 is an interrupt gate and they* remain disabled throughout this function. |
| __recover_optprobed_insn | |
| arch_check_optimized_kprobe | Check optimized_kprobe can actually be optimized. |
| kprobe_ftrace_handler | Ftrace callback handler for kprobes -- called under preepmt disabed |
| get_optimized_kprobe | Return an optimized kprobe whose optimizing code replaces* instructions including addr (exclude breakpoint). |
| __get_valid_kprobe | Check passed kprobe is valid and return kprobe in kprobe_table. |
| register_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 |