Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:20 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_end_commit
Proto:static __always_inline void rb_end_commit(struct ring_buffer_per_cpu *cpu_buffer)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
2519 | If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, !local_read( & committing)) Then Return |
2523 | again : |
2524 | commits = local_read( & commits) |
2527 | If local_read( & committing) == 1 Then rb_set_commit_to_write(cpu_buffer) |
2530 | local_dec( & committing) |
2540 | If Value for the false possibility is greater at compile time(local_read( & commits) != commits) && Not local_read( & committing) Then |
2542 | local_inc( & committing) |
2543 | Go to again |
Name | Describe |
---|---|
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 |
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 |