函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:06 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Decrement the entries to the page that an event is on.* The event does not even need to exist, only the pointer* to the page it is on. This may only be called before the commit* takes place.
函数原型:static inline void rb_decrement_entry(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 |
3017 | bpage等于committed pages |
3023 | 如果此条件成立可能性大(为编译器优化)(Actual data page == (void * )addr)则 |
3024 | local_dec( & ries on this page ) |
3025 | 返回 |
3032 | rb_inc_page(cpu_buffer, & bpage) |
3034 | 循环 |
3035 | 如果Actual data page 恒等于addr则 |
3036 | local_dec( & ries on this page ) |
3037 | 返回 |
3039 | rb_inc_page(cpu_buffer, & bpage) |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |