函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hwlat_tracer_init

函数原型:static int hwlat_tracer_init(struct trace_array *tr)

返回类型:int

参数:

类型参数名称
struct trace_array *tr
582  如果hwlat_busy则返回:负EBUSY
585  hwlat_trace等于tr
587  disable_migrate = false
588  al since reset 等于0
589  max_latency等于0
590  Save the previous tracing_thresh value 等于tracing_thresh
593  如果非tracing_threshtracing_thresh等于If the user changed threshold, remember it
596  如果racer_tracing_is_on - show real state of ring buffer enabled*@tr : the trace array to know if ring buffer is enabled* Shows real state of the ring buffer if it is enabled or not.hwlat_tracer_start(tr)
599  hwlat_busy = true
601  返回:0