函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:59:35 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This is the slow path, force gcc not to inline it.
函数原型:static noinline struct ring_buffer_event *rb_move_tail(struct ring_buffer_per_cpu *cpu_buffer, unsigned long tail, struct rb_event_info *info)
返回类型:struct ring_buffer_event
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
unsigned long | tail | |
struct rb_event_info * | info |
2208 | commit_page等于committed pages |
2215 | rb_inc_page(cpu_buffer, & next_page) |
2222 | 如果此条件成立可能性小(为编译器优化)(next_page == commit_page)则 |
2223 | local_inc( & commit_overrun) |
2224 | 转到:out_reset |
2252 | 如果非flags按位与RB_FL_OVERWRITE的值则 |
2253 | local_inc( & dropped_events) |
2254 | 转到:out_reset |
2264 | 否则 |
2275 | 如果此条件成立可能性小(为编译器优化)((committed pages != write to tail ) && (committed pages == reader_page))则 |
2279 | local_inc( & commit_overrun) |
2280 | 转到:out_reset |
2287 | out_again : |
2289 | rb_reset_tail(cpu_buffer, tail, info) |
2292 | rb_end_commit(cpu_buffer) |
2294 | local_inc( & committing) |
2297 | 返回:错误号 |
2299 | out_reset : |
2301 | rb_reset_tail(cpu_buffer, tail, info) |
2303 | 返回:NULL |
名称 | 描述 |
---|---|
__rb_reserve_next |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |