Function report |
Source Code:kernel\trace\ring_buffer_benchmark.c |
Create Date:2022-07-28 11:56:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:read_event
Proto:static enum event_status read_event(int cpu)
Type:enum event_status
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | cpu |
| 92 | If Not event Then Return EVENT_DROPPED |
| 95 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
| 97 | TEST_ERROR() |
| 98 | Return EVENT_DROPPED |
| 101 | read++ |
| 102 | Return EVENT_FOUND |
| Name | Describe |
|---|---|
| ring_buffer_consumer |
| 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 |