Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cpu_clock_event_add

Proto:static int cpu_clock_event_add(struct perf_event *event, int flags)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
intflags
9918  If flags & start the counter when adding Then cpu_clock_event_start(event, flags)
9920  Callers need to ensure there can be no nesting of this function, otherwise* the seqlock logic goes bad. We can not serialize this because the arch* code calls this from NMI context.
9922  Return 0