函数逻辑报告 |
Source Code:kernel\trace\trace_kprobe.c |
Create Date:2022-07-27 13:50:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Kretprobe handler
函数原型:static inline __attribute__((__always_inline__)) void __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, struct pt_regs *regs, struct trace_event_file *trace_file)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct trace_kprobe * | tk | |
struct kretprobe_instance * | ri | |
struct pt_regs * | regs | |
struct trace_event_file * | trace_file |
1230 | call等于trace_probe_event_call( & tp) |
1232 | WARN_ON(call != event_call) |
1237 | local_save_flags(irq_flags) |
1241 | size等于entry的长度加 trace entry size 加dsize |
1243 | event等于trace_event_buffer_lock_reserve( & buffer, trace_file, type, size, irq_flags, pc) |
1246 | 如果非event则返回 |
1249 | entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from |
1250 | func等于 location of the probe point |
名称 | 描述 |
---|---|
kretprobe_trace_func |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |