Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:event_enable_on_exec

Proto:static int event_enable_on_exec(struct perf_event *event, struct perf_event_context *ctx)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
struct perf_event_context *ctx
3914  If Not enable_on_exec Then Return 0
3917  enable_on_exec = 0
3918  If state >= PERF_EVENT_STATE_INACTIVE Then Return 0
3921  perf_event_set_state(event, PERF_EVENT_STATE_INACTIVE)
3923  Return 1
Caller
NameDescribe
perf_event_enable_on_execEnable all of a task's events that have been marked enable-on-exec.* This expects task == current.