函数逻辑报告 |
Source Code:arch\x86\kernel\kprobes\ftrace.c |
Create Date:2022-07-27 09:38:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Ftrace callback handler for kprobes -- called under preepmt disabed
函数原型:void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *ops, struct pt_regs *regs)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ip | |
unsigned long | parent_ip | |
struct ftrace_ops * | ops | |
struct pt_regs * | regs |
24 | 如果此条件成立可能性小(为编译器优化)(!p)或Is this kprobe disabled ? 则返回 |
27 | kcb等于get_kprobe_ctlblk() |
30 | 否则 |
33 | ip等于ip加sizeof(kprobe_opcode_t) |
37 | 如果非 Called before addr is executed. 或非 Called before addr is executed. (p, regs)则 |
53 | __this_cpu_write(current_kprobe, NULL) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |