Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:37:15 |
| 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_read_event
Proto:static void perf_event_read_event(struct perf_event *event, struct task_struct *task)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event | |
| struct task_struct * | task |
| 7005 | struct perf_read_event read_event = {header = {type = PERF_RECORD_READ, misc = 0, size = size of read_event + read_size, }, pid = perf_event_pid(event, task), tid = perf_event_tid(event, task), } |
| 7016 | perf_event_header__init_id( & header, & sample, event) |
| 7017 | ret = perf_output_begin( & handle, event, size) |
| 7018 | If ret Then Return |
| 7021 | perf_output_put( & handle, read_event) |
| 7023 | perf_event__output_id_sample(event, & handle, & sample) |
| 7025 | perf_output_end( & handle) |
| Name | Describe |
|---|---|
| sync_child_event |
| 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 |