Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:update_context_time

Proto:static void update_context_time(struct perf_event_context *ctx)

Type:void

Parameter:

TypeParameterName
struct perf_event_context *ctx
1452  now = perf_clock()
1454  Context clock, runs when context enabled. += now - timestamp
1455  timestamp = now
Caller
NameDescribe
__perf_remove_from_contextCross CPU call to remove a performance event* We disable the event on the hardware level first. After that we* remove it from the context list.
__perf_event_disableCross CPU call to disable a performance event
ctx_sched_out
perf_event_sync_stat
__perf_event_readCross CPU call to read the hardware event
perf_event_read