Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_create_cpu_file

Proto:static struct dentry *trace_create_cpu_file(const char *name, umode_t mode, struct dentry *parent, void *data, long cpu, const struct file_operations *fops)

Type:struct dentry

Parameter:

TypeParameterName
const char *name
umode_tmode
struct dentry *parent
void *data
longcpu
const struct file_operations *fops
7909  ret = trace_create_file(name, mode, parent, data, fops)
7911  If ret Then i_cdev = cpu + 1
7913  Return ret
Caller
NameDescribe
tracing_init_tracefs_percpu