函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称: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:)
3114  如果pin_countpin_count则返回:0
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.恒等于ctx2parent_gen恒等于generation则返回:1
3129  如果These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor.These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor.恒等于These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor.parent_gen恒等于parent_gen则返回:1
3134  返回:0
调用者
名称描述
perf_event_context_sched_out