函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:56:14 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__perf_event_header__init_id
函数原型:static void __perf_event_header__init_id(struct perf_event_header *header, struct perf_sample_data *data, struct perf_event *event)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event_header * | header | |
struct perf_sample_data * | data | |
struct perf_event * | event |
6393 | sample_type等于sample_type |
6395 | type等于sample_type |
6396 | size加等于id_header_size |
6398 | 如果sample_type按位与PERF_SAMPLE_TID则 |
6400 | pid等于perf_event_pid(event, 当前进程) |
6401 | tid等于perf_event_tid(event, 当前进程) |
6404 | 如果sample_type按位与PERF_SAMPLE_TIME则time等于perf_event_clock(event) |
6407 | 如果sample_type按位与PERF_SAMPLE_ID按位或PERF_SAMPLE_IDENTIFIER的值则id等于If we inherit events we want to return the parent event id* to userspace. |
6410 | 如果sample_type按位与PERF_SAMPLE_STREAM_ID则stream_id等于id |
6413 | 如果sample_type按位与PERF_SAMPLE_CPU则 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |