Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-28 12:21:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static __init void __trace_early_add_event_dirs(struct trace_array *tr)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
2876  ret = event_create_dir(event_dir, file)
2877  If ret < 0 Then pr_warn("Could not create directory for event %s\n", trace_event_name(event_call))
Caller
NameDescribe
early_event_add_tracerThe top trace array already had its file descriptors created.* Now the files themselves need to be created.