函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:early_enable_events

函数原型:static __init void early_enable_events(struct trace_array *tr, bool disable_first)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
booldisable_first
3085  buf等于bootup_event_buf
3089  当(true)循环
3090  token等于分割字符串
3092  如果非token退出
3095  如果token
3100  ret等于ftrace_set_clr_event(tr, token, 1)
3101  如果ret打印警告信息("Failed to enable trace event: %s\n", token)
3106  如果buf则*buf减1的差等于','
调用者
名称描述
event_trace_enable
event_trace_enable_againvent_trace_enable() is called from trace_event_init() first to* initialize events and perhaps start any events that are on the* command line. Unfortunately, there are some events that will not* start this early, like the system call tracepoints that need