函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:The top level array has already had its trace_event_file* descriptors created in order to allow for early events to* be recorded. This function is called after the tracefs has been* initialized, and we now have to create the files associated

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

返回类型:void

参数:

类型参数名称
struct trace_array *tr
2876  ret等于event_create_dir(event_dir, file)
2877  如果ret小于0则打印警告信息("Could not create directory for event %s\n", trace_event_name(event_call))
调用者
名称描述
early_event_add_tracerThe top trace array already had its file descriptors created.* Now the files themselves need to be created.