Function report | 
Source Code:kernel\events\core.c | 
Create Date:2022-07-28 13:37:30 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:perf_event_task_output
Proto:static void perf_event_task_output(struct perf_event *event, void *data)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct perf_event * | event | |
| void * | data | 
| 7275 | task_event = data | 
| 7281 | If Not perf_event_task_match(event) Then Return | 
| 7284 | perf_event_header__init_id( & header, & sample, event) | 
| 7286 | ret = perf_output_begin( & handle, event, size) | 
| 7291 | pid = perf_event_pid(event, task) | 
| 7292 | ppid = perf_event_pid(event, current process) | 
| 7294 | tid = perf_event_tid(event, task) | 
| 7295 | ptid = perf_event_tid(event, current process) | 
| 7297 | time = perf_event_clock(event) | 
| 7299 | perf_output_put( & handle, event_id) | 
| 7301 | perf_event__output_id_sample(event, & handle, & sample) | 
| 7303 | perf_output_end( & handle) | 
| 7304 | out : | 
| 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  |