函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:50:26
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static __always_inline enum perf_event_state __perf_effective_state(struct perf_event *event)

返回类型:enum perf_event_state

参数:

类型参数名称
struct perf_event *event
611  leader等于group_leader
613  如果state小于等于PERF_EVENT_STATE_OFF则返回:state
616  返回:state
调用者
名称描述
__perf_update_times
perf_install_in_contextAttach a performance event to a context.* Very similar to event_function_call, see comment there.