Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_create_file

Proto:struct dentry *trace_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)

Type:struct dentry

Parameter:

TypeParameterName
const char *name
umode_tmode
struct dentry *parent
void *data
const struct file_operations *fops
8116  ret = tracefs_create_file(name, mode, parent, data, fops)
8117  If Not ret Then pr_warn("Could not create tracefs '%s' entry\n", name)
8120  Return ret
Caller
NameDescribe
trace_create_cpu_file
create_trace_option_file
create_trace_option_core_file
init_tracer_tracefs
tracer_init_tracefs
init_trace_printk_function_export
stack_trace_init
init_graph_tracefs
event_subsystem_dir
event_create_dir
create_event_toplevel_filesExpects to have event_mutex held when called
init_uprobe_traceMake a trace interface for controling probe points
ftrace_init_tracefs