Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:State based event timekeeping...* The basic idea is to use event->state to determine which (if any) time* fields to increment with the current delta. This means we only need to* update timestamps when we change state or when they are explicitly requested

Proto:static __always_inline enum perf_event_state __perf_effective_state(struct perf_event *event)

Type:enum perf_event_state

Parameter:

TypeParameterName
struct perf_event *event
611  leader = group_leader
613  If state <= PERF_EVENT_STATE_OFF Then Return state
616  Return state
Caller
NameDescribe
__perf_update_times
perf_install_in_contextAttach a performance event to a context.* Very similar to event_function_call, see comment there.