函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:59:52 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_wakeups
函数原型:static __always_inline void rb_wakeups(struct ring_buffer *buffer, struct ring_buffer_per_cpu *cpu_buffer)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer * | buffer | |
struct ring_buffer_per_cpu * | cpu_buffer |
2618 | 如果waiters_pending则 |
2619 | waiters_pending = false |
2621 | irq_work_queue( & work) |
2624 | 如果waiters_pending则 |
2625 | waiters_pending = false |
2627 | irq_work_queue( & work) |
2630 | 如果last_pages_touch恒等于local_read( & pages_touched)则返回 |
2633 | 如果reader_page恒等于committed pages 则返回 |
2636 | 如果非full_waiters_pending则返回 |
2639 | last_pages_touch等于local_read( & pages_touched) |
2641 | full等于shortest_full |
2647 | wakeup_full = true |
2648 | full_waiters_pending = false |
2650 | irq_work_queue( & work) |
名称 | 描述 |
---|---|
ring_buffer_unlock_commit | g_buffer_unlock_commit - commit a reserved*@buffer: The buffer to commit to*@event: The event pointer to commit.* This commits the data to the ring buffer, and releases any locks held.* Must be paired with ring_buffer_lock_reserve. |
ring_buffer_write | g_buffer_write - write data to the buffer without reserving*@buffer: The ring buffer to write to |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |