Function report |
Source Code:kernel\trace\ring_buffer_benchmark.c |
Create Date:2022-07-28 11:56:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ring_buffer_consumer
Proto:static void ring_buffer_consumer(void)
Type:void
Parameter:Nothing
| 185 | read_events ^= 1 |
| 187 | read = 0 |
| 192 | When Not READ_ONCE(reader_finish) cycle |
| 193 | found = 1 |
| 195 | When found && Not test_error cycle |
| 198 | found = 0 |
| 199 | for_each_online_cpu(cpu) |
| 202 | If read_events Then stat = read_event(cpu) |
| 207 | If test_error Then Break |
| 210 | If stat == EVENT_FOUND Then found = 1 |
| 220 | If reader_finish Then Break |
| 223 | schedule() |
| 226 | reader_finish = 0 |
| Name | Describe |
|---|---|
| ring_buffer_consumer_thread |
| 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 |