函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:58:10 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Lost/dropped samples logging
函数原型:void perf_log_lost_samples(struct perf_event *event, u64 lost)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | |
u64 | lost |
7966 | struct{struct perf_event_header header;u64 lost;}lost_samples_event = {header = {type = PERF_RECORD_LOST_SAMPLES, misc = 0, size = lost_samples_event的长度, }, lost = lost, } |
7978 | perf_event_header__init_id( & header, & sample, event) |
7980 | ret等于perf_output_begin( & handle, event, size) |
7982 | 如果ret则返回 |
7985 | perf_output_put( & handle, lost_samples_event) |
7986 | perf_event__output_id_sample(event, & handle, & sample) |
7987 | perf_output_end( & handle) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |