函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_time

函数原型:static u64 perf_event_time(struct perf_event *event)

返回类型:u64

参数:

类型参数名称
struct perf_event *event
1460  ctx等于ctx
1462  如果is_cgroup_event(event)则返回:perf_cgroup_event_time(event)
1465  返回:如果ctxContext clock, runs when context enabled.否则0
调用者
名称描述
perf_event_update_time
list_add_eventAdd an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held.