Function report |
Source Code:kernel\events\ring_buffer.c |
Create Date:2022-07-28 13:42:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_output_put_handle
Proto:static void perf_output_put_handle(struct perf_output_handle *handle)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_output_handle * | handle |
| 60 | nest = READ_ONCE( nested writers ) |
| 61 | If nest > 1 Then |
| 62 | WRITE_ONCE( nested writers , nest - 1) |
| 63 | Go to out |
| 66 | again : |
| 76 | head = local_read( & write position ) |
| 109 | smp_wmb() |
| 118 | WRITE_ONCE( nested writers , 0) |
| 125 | If Value for the false possibility is greater at compile time(head != local_read( & write position )) Then |
| 126 | WRITE_ONCE( nested writers , 1) |
| 127 | Go to again |
| 130 | If wakeup != local_read( & wakeup stamp ) Then perf_output_wakeup(handle) |
| 133 | out : |
| 134 | preempt_enable() |
| Name | Describe |
|---|---|
| __perf_output_begin | |
| perf_output_end |
| 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 |