函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:59:49 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_update_write_stamp
函数原型:static __always_inline void rb_update_write_stamp(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct ring_buffer_event * | event |
2584 | 如果rb_event_is_commit(cpu_buffer, event)则 |
2589 | 如果非rb_event_index(event)则write_stamp等于 page time stamp |
2592 | 否则如果type_len恒等于RINGBUF_TYPE_TIME_EXTEND则 |
2593 | delta等于g_buffer_event_time_stamp - return the event's extended timestamp*@event: the event to get the timestamp of* Returns the extended timestamp associated with a data event |
2594 | write_stamp加等于delta |
2595 | 否则如果type_len恒等于RINGBUF_TYPE_TIME_STAMP则 |
2596 | delta等于g_buffer_event_time_stamp - return the event's extended timestamp*@event: the event to get the timestamp of* Returns the extended timestamp associated with a data event |
2597 | write_stamp等于delta |
2598 | 否则write_stamp加等于time_delta |
名称 | 描述 |
---|---|
rb_commit | |
ring_buffer_discard_commit | g_buffer_commit_discard - discard an event that has not been committed*@buffer: the ring buffer*@event: non committed event to discard* Sometimes an event that is in the ring buffer needs to be ignored |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |