函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static __init int __trace_early_add_new_event(struct trace_event_call *call, struct trace_array *tr)

返回类型:int

参数:

类型参数名称
struct trace_event_call *call
struct trace_array *tr
2320  file等于trace_create_new_event(call, tr)
2321  如果非file则返回:负ENOMEM
2324  返回:0
调用者
名称描述
__trace_early_add_eventsFor 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.