函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:28 |
| Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_update_read_stamp
函数原型:static void rb_update_read_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 |
| 3618 | 当:type_len恒等于RINGBUF_TYPE_PADDING |
| 3619 | 返回 |
| 3621 | 当:type_len恒等于RINGBUF_TYPE_TIME_EXTEND |
| 3622 | 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 |
| 3623 | read_stamp加等于delta |
| 3624 | 返回 |
| 3626 | 当:type_len恒等于RINGBUF_TYPE_TIME_STAMP |
| 3627 | 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 |
| 3628 | read_stamp等于delta |
| 3629 | 返回 |
| 3632 | read_stamp加等于time_delta |
| 3633 | 返回 |
| 3635 | 默认 |
| 3636 | BUG() |
| 3638 | 返回 |
| 名称 | 描述 |
|---|---|
| rb_advance_reader |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |