函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:50:53 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_event_type
函数原型:static enum event_type_t get_event_type(struct perf_event *event)
返回类型:enum event_type_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event |
1473 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) |
1479 | 如果group_leader不等于event则event等于group_leader |
1482 | event_type等于如果pinned则EVENT_PINNED否则EVENT_FLEXIBLE |
1483 | 如果非task则event_type或等于 see ctx_resched() for details |
1486 | 返回:event_type |
名称 | 描述 |
---|---|
__perf_install_in_context | Cross CPU call to install and enable a performance event* Very similar to remote_function() + event_function() but cannot assume that* things like ctx->is_active and cpuctx->task_ctx are set. |
__perf_event_enable | Cross CPU call to enable a performance event |
perf_event_enable_on_exec | Enable all of a task's events that have been marked enable-on-exec.* This expects task == current. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |