Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_trace_printk_function_export

Proto:static __init int init_trace_printk_function_export(void)

Type:int

Parameter:Nothing

372  d_tracer = racing_init_dentry - initialize top level trace array* This is called when creating files or directories in the tracing* directory. It is called via fs_initcall() by any of the boot up code
373  If IS_ERR(d_tracer) Then Return 0
376  trace_create_file("printk_formats", 0444, d_tracer, NULL, & ftrace_formats_fops)
379  Return 0