函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:52:31 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Test whether two contexts are equivalent, i
函数原型:static int context_equiv(struct perf_event_context *ctx1, struct perf_event_context *ctx2)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event_context * | ctx1 | |
struct perf_event_context * | ctx2 |
3110 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) |
3111 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) |
3118 | 如果ctx1恒等于These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor.且generation恒等于parent_gen则返回:1 |
3122 | 如果These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor.恒等于ctx2且parent_gen恒等于generation则返回:1 |
3134 | 返回:0 |
名称 | 描述 |
---|---|
perf_event_context_sched_out |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |