Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:26 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_wakeups
Proto:static __always_inline void rb_wakeups(struct ring_buffer *buffer, struct ring_buffer_per_cpu *cpu_buffer)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer * | buffer | |
struct ring_buffer_per_cpu * | cpu_buffer |
2618 | If waiters_pending Then |
2619 | waiters_pending = false |
2621 | irq_work_queue( & work) |
2624 | If waiters_pending Then |
2625 | waiters_pending = false |
2627 | irq_work_queue( & work) |
2630 | If last_pages_touch == local_read( & pages_touched) Then Return |
2633 | If reader_page == committed pages Then Return |
2636 | If Not full_waiters_pending Then Return |
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) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |