Function report |
Source Code:arch\x86\kernel\kprobes\ftrace.c |
Create Date:2022-07-28 08:39:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Ftrace callback handler for kprobes -- called under preepmt disabed
Proto:void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *ops, struct pt_regs *regs)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | ip | |
| unsigned long | parent_ip | |
| struct ftrace_ops * | ops | |
| struct pt_regs * | regs |
| 24 | If Value for the false possibility is greater at compile time(!p) || Is this kprobe disabled ? Then Return |
| 27 | kcb = get_kprobe_ctlblk() |
| 30 | Else |
| 33 | ip = ip + sizeof(kprobe_opcode_t) |
| 37 | If Not Called before addr is executed. || Not Called before addr is executed. (p, regs) Then |
| 53 | __this_cpu_write(current_kprobe, NULL) |
| 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 |