函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:event_enable_on_exec

函数原型:static int event_enable_on_exec(struct perf_event *event, struct perf_event_context *ctx)

返回类型:int

参数:

类型参数名称
struct perf_event *event
struct perf_event_context *ctx
3914  如果非enable_on_exec则返回:0
3917  enable_on_exec等于0
3918  如果state大于等于PERF_EVENT_STATE_INACTIVE则返回:0
3921  perf_event_set_state(event, PERF_EVENT_STATE_INACTIVE)
3923  返回:1
调用者
名称描述
perf_event_enable_on_execEnable all of a task's events that have been marked enable-on-exec.* This expects task == current.