函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_create_file

函数原型:struct dentry *trace_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)

返回类型:struct dentry

参数:

类型参数名称
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  如果非ret打印警告信息("Could not create tracefs '%s' entry\n", name)
8120  返回:ret
调用者
名称描述
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