函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Make a tracefs interface for controlling dynamic events

函数原型:static __init int init_dynamic_event(void)

返回类型:int

参数:

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  如果是错误则返回:0
216  entry等于tracefs_create_file("dynamic_events", 0644, d_tracer, NULL, & dynamic_events_ops)
220  如果非entry打印警告信息("Could not create tracefs 'dynamic_events' entry\n")
223  返回:0