Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Initialize event state based on the perf_event_attr::disabled.

Proto:static inline void perf_event__state_init(struct perf_event *event)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
1700  state = If disabled Then PERF_EVENT_STATE_OFF Else PERF_EVENT_STATE_INACTIVE
Caller
NameDescribe
perf_event_allocAllocate and initialize an event structure