函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_stat_init

函数原型:static int tracing_stat_init(void)

返回类型:int

参数:

281  d_tracing等于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
282  如果是错误则返回:负ENODEV
285  The root directory for all stat files 等于tracefs_create_dir("trace_stat", d_tracing)
286  如果非The root directory for all stat files
287  打印警告信息("Could not create tracefs 'trace_stat' entry\n")
288  返回:负ENOMEM
290  返回:0
调用者
名称描述
init_stat_file