Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:33:22
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Test whether two contexts are equivalent, i

Proto:static int context_equiv(struct perf_event_context *ctx1, struct perf_event_context *ctx2)

Type:int

Parameter:

TypeParameterName
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  If pin_count || pin_count Then Return 0
3118  If ctx1 == These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor. && generation == parent_gen Then Return 1
3122  If These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor. == ctx2 && parent_gen == generation Then Return 1
3129  If 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 Then Return 1
3134  Return 0
Caller
NameDescribe
perf_event_context_sched_out