函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:For early boot up, the top trace array requires to have* a list of events that can be enabled. This must be done before* the filesystem is set up in order to allow events to be traced* early.

函数原型:static __init void __trace_early_add_events(struct trace_array *tr)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
2897  如果WARN_ON_ONCE(mod)则继续下一循环
2900  ret等于Just create a decriptor for early init. A descriptor is required* for enabling events at boot. We want to enable events before* the filesystem is initialized.
2901  如果ret小于0则打印警告信息("Could not create early event %s\n", trace_event_name(call))
调用者
名称描述
event_trace_enable