| Function report | 
| Source Code: kernel\trace\trace_event_perf.c | Create Date:2022-07-28 12:23:21 | 
| Last Modify:2020-03-17 20:20:33 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:perf_trace_event_init
Proto:static int perf_trace_event_init(struct trace_event_call *tp_event, struct perf_event *p_event)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct trace_event_call * | tp_event | |
| struct perf_event * | p_event | 
| 200 | ret = perf_trace_event_perm(tp_event, p_event) | 
| 204 | ret = perf_trace_event_reg(tp_event, p_event) | 
| 208 | ret = perf_trace_event_open(p_event) | 
| 209 | If ret Then | 
| 211 | Return ret | 
| 214 | Return 0 | 
| Name | Describe | 
|---|---|
| perf_trace_init | 
| 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 |