函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kprobes\opt.c Create Date:2022-07-27 09:38:27
Last Modify:2022-05-22 07:44:06 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Optimized kprobe call back function: called from optinsn

函数原型:static void optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct optimized_kprobe *op
struct pt_regs *regs
151  如果Is this kprobe disabled ? 则返回
154  禁止抢占()
155  如果kprobe_running() will just return the current_kprobe on this CPU
156  kprobes_inc_nmissed_count( & kp)
157  否则
158  kcb等于get_kprobe_ctlblk()
160  cs等于Segment selector values corresponding to the above entries:
162  cs或等于get_kernel_rpl()
163  gs等于0
165  ip等于 location of the probe point INT3_SIZE
166  orig_ax等于0UL的反
168  __this_cpu_write(current_kprobe, & kp)
169  kprobe_status等于kprobe_status settings
170  opt_pre_handler( & kp, regs)
171  __this_cpu_write(current_kprobe, NULL)
173  禁用抢占和中断()