Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Make a tracefs interface for controlling dynamic events

Proto:static __init int init_dynamic_event(void)

Type:int

Parameter:Nothing

212  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
213  If IS_ERR(d_tracer) Then Return 0
216  entry = tracefs_create_file("dynamic_events", 0644, d_tracer, NULL, & dynamic_events_ops)
220  If Not entry Then pr_warn("Could not create tracefs 'dynamic_events' entry\n")
223  Return 0