Function report | 
Source Code:kernel\events\core.c | 
Create Date:2022-07-28 13:40:24 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:perf_init_event
Proto:static struct pmu *perf_init_event(struct perf_event *event)
Type:struct pmu
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct perf_event * | event | 
| 10515 | If type == PERF_TYPE_HARDWARE || type == PERF_TYPE_HW_CACHE Then type = PERF_TYPE_RAW | 
| 10518 | again : | 
| 10522 | If pmu Then | 
| 10523 | ret = perf_try_init_event(pmu, event) | 
| 10532 | Go to unlock | 
| 10536 | ret = perf_try_init_event(pmu, event) | 
| 10546 | unlock : | 
| 10549 | Return pmu | 
| Name | Describe | 
|---|---|
| perf_event_alloc | Allocate and initialize an event structure | 
| 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  |