Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:10 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is the slow path, force gcc not to inline it.
Proto:static noinline struct ring_buffer_event *rb_move_tail(struct ring_buffer_per_cpu *cpu_buffer, unsigned long tail, struct rb_event_info *info)
Type:struct ring_buffer_event
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
unsigned long | tail | |
struct rb_event_info * | info |
2208 | commit_page = committed pages |
2215 | rb_inc_page(cpu_buffer, & next_page) |
2223 | local_inc( & commit_overrun) |
2224 | Go to out_reset |
2252 | If Not (flags & RB_FL_OVERWRITE) Then |
2253 | local_inc( & dropped_events) |
2254 | Go to out_reset |
2264 | Else |
2275 | If Value for the false possibility is greater at compile time((committed pages != write to tail ) && (committed pages == reader_page)) Then |
2279 | local_inc( & commit_overrun) |
2280 | Go to out_reset |
2287 | out_again : |
2289 | rb_reset_tail(cpu_buffer, tail, info) |
2292 | rb_end_commit(cpu_buffer) |
2294 | local_inc( & committing) |
2299 | out_reset : |
2301 | rb_reset_tail(cpu_buffer, tail, info) |
2303 | Return NULL |
Name | Describe |
---|---|
__rb_reserve_next |
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 |