Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_options_init_dentry

Proto:static struct dentry *trace_options_init_dentry(struct trace_array *tr)

Type:struct dentry

Parameter:

TypeParameterName
struct trace_array *tr
8128  If options Then Return options
8131  d_tracer = tracing_get_dentry(tr)
8132  If IS_ERR(d_tracer) Then Return NULL
8135  options = tracefs_create_dir("options", d_tracer)
8136  If Not options Then
8137  pr_warn("Could not create tracefs directory 'options'\n")
8138  Return NULL
8141  Return options
Caller
NameDescribe
create_trace_option_file
create_trace_option_core_file
create_trace_options_dir