Function report | 
Source Code:kernel\trace\ring_buffer.c | 
Create Date:2022-07-28 11:54:19 | 
| Last Modify:2020-03-17 19:30:04 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:rb_set_commit_to_write
Proto:static __always_inline void rb_set_commit_to_write(struct ring_buffer_per_cpu *cpu_buffer)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct ring_buffer_per_cpu * | cpu_buffer | 
| 2473 | again : | 
| 2476 | When committed pages != READ_ONCE(write to tail ) cycle | 
| 2477 | If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, !(--max_count)) Then Return | 
| 2482 | local_set( & write committed index , rb_page_write(committed pages )) | 
| 2484 | rb_inc_page(cpu_buffer, & committed pages ) | 
| 2486 | If rb_page_write(committed pages ) Then write_stamp = page time stamp | 
| 2492 | When rb_commit_index(cpu_buffer) != rb_page_write(committed pages ) cycle | 
| 2495 | local_set( & write committed index , rb_page_write(committed pages )) | 
| 2511 | If Value for the false possibility is greater at compile time(committed pages != READ_ONCE(write to tail )) Then Go to again | 
| Name | Describe | 
|---|---|
| rb_end_commit | 
| 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  |