函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:59:46 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_end_commit
函数原型:static __always_inline void rb_end_commit(struct ring_buffer_per_cpu *cpu_buffer)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
2519 | 如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, !local_read( & committing))则返回 |
2523 | again : |
2524 | commits等于local_read( & commits) |
2527 | 如果local_read( & committing)恒等于1则rb_set_commit_to_write(cpu_buffer) |
2530 | local_dec( & committing) |
2540 | 如果此条件成立可能性小(为编译器优化)(local_read( & commits) != commits)且非local_read( & committing)则 |
2542 | local_inc( & committing) |
2543 | 转到:again |
名称 | 描述 |
---|---|
rb_move_tail | This is the slow path, force gcc not to inline it. |
rb_commit | |
rb_reserve_next_event | |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |