函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_set_clr_event - enable or disable an event*@system: system name to match (NULL for any system)*@event: event name to match (NULL for all events, within system)*@set: 1 to enable, 0 to disable* This is a way for other parts of the kernel to enable or

函数原型:int trace_set_clr_event(const char *system, const char *event, int set)

返回类型:int

参数:

类型参数名称
const char *system
const char *event
intset
845  tr等于The global tracer (top) should be the first trace array added,* but we check the flag anyway.
847  如果非tr则返回:负ENODEV
850  返回:__ftrace_set_clr_event(tr, NULL, system, event, set)