Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_hwlat_tracer

Proto:__init static int init_hwlat_tracer(void)

Type:int

Parameter:Nothing

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  If ret Then Return ret
635  _tracefs - A function to initialize the tracefs interface files* This function creates entries in tracefs for "hwlat_detector"
637  Return 0