Function report |
Source Code:arch\x86\kernel\kprobes\core.c |
Create Date:2022-07-28 08:38:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_current_kprobe
Proto:static inline __attribute__((__always_inline__)) void set_current_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kprobe * | p | |
| struct pt_regs * | regs | |
| struct kprobe_ctlblk * | kcb |
| 542 | __this_cpu_write(current_kprobe, p) |
| 543 | kprobe_saved_flags = kprobe_old_flags = flags & (X86_EFLAGS_TF | X86_EFLAGS_IF) |
| 545 | If if_modifier Then kprobe_saved_flags &= ~X86_EFLAGS_IF |
| Name | Describe |
|---|---|
| setup_singlestep | |
| kprobe_int3_handler | Interrupts are disabled on entry as trap3 is an interrupt gate and they* remain disabled throughout this function. |
| 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 |