Function report | 
Source Code:kernel\trace\ring_buffer.c | 
Create Date:2022-07-28 11:52:54 | 
| Last Modify:2020-03-17 19:30:04 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Return total length of time extend and data,* or just the event length for all other events.
Proto:static inline unsigned rb_event_ts_length(struct ring_buffer_event *event)
Type:unsigned
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct ring_buffer_event * | event | 
| 209 | len = 0 | 
| 211 | If extended_time(event) Then | 
| 213 | len = RB_LEN_TIME_EXTEND | 
| 214 | event = skip_time_extend(event) | 
| 216 | Return len + Return the length of the given event. Will return* the length of the time extend if the event is a* time extend. | 
| Name | Describe | 
|---|---|
| rb_try_to_discard | |
| ring_buffer_read_page | g_buffer_read_page - extract a page from the ring buffer*@buffer: buffer to extract from*@data_page: the page to use allocated from ring_buffer_alloc_read_page*@len: amount to extract*@cpu: the cpu of the buffer to extract | 
| 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  |