Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_dentry_percpu

Proto:static struct dentry *tracing_dentry_percpu(struct trace_array *tr, int cpu)

Type:struct dentry

Parameter:

TypeParameterName
struct trace_array *tr
intcpu
7890  If percpu_dir Then Return percpu_dir
7893  d_tracer = tracing_get_dentry(tr)
7894  If IS_ERR(d_tracer) Then Return NULL
7897  percpu_dir = tracefs_create_dir("per_cpu", d_tracer)
7899  WARN_ONCE(!percpu_dir, "Could not create tracefs directory 'per_cpu/%d'\n", cpu)
7902  Return percpu_dir
Caller
NameDescribe
tracing_init_tracefs_percpu