函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:58:08 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:perf_event_aux_event
函数原型:void perf_event_aux_event(struct perf_event *event, unsigned long head, unsigned long size, u64 flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 = 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 | 如果ret则返回 |
7951 | perf_output_put( & handle, rec) |
7952 | perf_event__output_id_sample(event, & handle, & sample) |
7954 | perf_output_end( & handle) |
名称 | 描述 |
---|---|
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, |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |