函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:08 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void ring_buffer_discard_commit(struct ring_buffer *buffer, struct ring_buffer_event *event)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer * | buffer | |
struct ring_buffer_event * | event |
3072 | rb_event_discard(event) |
3075 | cpu_buffer等于buffers[cpu] |
3085 | 如果rb_try_to_discard(cpu_buffer, event)则转到:out |
3092 | rb_update_write_stamp(cpu_buffer, event) |
3093 | out : |
3094 | rb_end_commit(cpu_buffer) |
3098 | preempt_enable_notrace() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |