函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_hwlat_tracer

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

返回类型:int

参数:

629  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & protect changes )
631  ret等于gister_tracer - register a tracer with the ftrace system.*@type: the plugin for the tracer* Register a new plugin tracer.
632  如果ret则返回:ret
635  _tracefs - A function to initialize the tracefs interface files* This function creates entries in tracefs for "hwlat_detector"
637  返回:0