函数逻辑报告 | 
Source Code:kernel\events\core.c | 
Create Date:2022-07-27 14:50:44 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:This must be done under the ctx->lock, such as to serialize against* context_equiv(), therefore we cannot call put_ctx() since that might end up* calling scheduler related locks and ctx->lock nests inside those.
函数原型:static __must_check struct perf_event_context *unclone_ctx(struct perf_event_context *ctx)
返回类型:struct perf_event_context
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct perf_event_context * | ctx | 
| 1310 | parent_ctx等于These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor. | 
| 1312 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) | 
| 1314 | 如果parent_ctx则These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor. = NULL | 
| 1316 | generation自加 | 
| 1318 | 返回:parent_ctx | 
| 名称 | 描述 | 
|---|---|
| perf_event_enable_on_exec | Enable all of a task's events that have been marked enable-on-exec.* This expects task == current. | 
| find_get_context | Returns a matching context with refcount and pincount. | 
| perf_event_exit_task_context | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |