函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:59:39 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_update_event - update event type and data*@event: the event to update*@type: the type of event*@length: the size of the event field in the ring buffer* Update the type and data fields of the event
函数原型:static void rb_update_event(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event, struct rb_event_info *info)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct ring_buffer_event * | event | |
struct rb_event_info * | info |
2351 | 如果此条件成立可能性小(为编译器优化)(!rb_event_is_commit(cpu_buffer, event))则delta等于0 |
2358 | 如果此条件成立可能性小(为编译器优化)(add_timestamp)则 |
2366 | time_delta等于delta |
2367 | length减等于RB_EVNT_HDR_SIZE |
2368 | 如果length大于RB_MAX_SMALL_DATA则 |
2371 | 否则type_len等于DIV_ROUND_UP(length, RB_ALIGNMENT) |
名称 | 描述 |
---|---|
__rb_reserve_next |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |