函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-27 13:26:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:race_array_set_clr_event - enable or disable an event for a trace array

函数原型:int trace_array_set_clr_event(struct trace_array *tr, const char *system, const char *event, bool enable)

返回类型:int

参数:

类型参数名称
struct trace_array *tr
const char *system
const char *event
boolenable
872  如果非tr则返回:负ENOENT
875  set = (enable == true) ? 1 : 0
876  返回:__ftrace_set_clr_event(tr, NULL, system, event, set)