函数逻辑报告 |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-27 13:04:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:trace_event_buffer_lock_reserve
函数原型:struct ring_buffer_event *trace_event_buffer_lock_reserve(struct ring_buffer **current_rb, struct trace_event_file *trace_file, int type, unsigned long len, unsigned long flags, int pc)
返回类型:struct ring_buffer_event
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer ** | current_rb | |
struct trace_event_file * | trace_file | |
int | type | |
unsigned long | len | |
unsigned long | flags | |
int | pc |
2577 | current_rb等于buffer |
2584 | 如果val恒等于1则 |
2592 | entry等于__trace_buffer_lock_reserve( * current_rb, type, len, flags, pc) |
2601 | current_rb等于temp_buffer |
2602 | entry等于__trace_buffer_lock_reserve( * current_rb, type, len, flags, pc) |
2605 | 返回:entry |
名称 | 描述 |
---|---|
trace_event_buffer_reserve | |
__kprobe_trace_func | Kprobe handler |
__kretprobe_trace_func | Kretprobe handler |
__uprobe_trace_func |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |