Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:38:13 |
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_aux_event
Proto:void perf_event_aux_event(struct perf_event *event, unsigned long head, unsigned long size, u64 flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
unsigned long | head | |
unsigned long | size | |
u64 | flags |
7928 | struct perf_aux_event{struct perf_event_header header;u64 offset;u64 size;u64 flags;}rec = {header = {perf_event_header Ordering of fields matters. See states_equal() = PERF_RECORD_AUX, perf_event_header misc = 0, size = size of rec , }, offset = head, size = size, flags = flags, } |
7945 | perf_event_header__init_id( & header, & sample, event) |
7946 | ret = perf_output_begin( & handle, event, size) |
7948 | If ret Then Return |
7951 | perf_output_put( & handle, rec) |
7952 | perf_event__output_id_sample(event, & handle, & sample) |
7954 | perf_output_end( & handle) |
Name | Describe |
---|---|
perf_aux_output_end | Commit the data written by hardware into the ring buffer by adjusting* aux_head and posting a PERF_RECORD_AUX into the perf buffer. It is the* pmu driver's responsibility to observe ordering rules of the hardware, |
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 |