Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:When the benchmark tracepoint is disabled, it calls this* function and the thread that calls the tracepoint is deleted* and all the numbers are reset.

Proto:void trace_benchmark_unreg(void)

Type:void

Parameter:Nothing

202  If Not bm_event_thread Then Return
205  stop a thread
206  bm_event_thread = NULL
208  strcpy(bm_str, "START")
209  bm_total = 0
210  bm_totalsq = 0
211  bm_last = 0
212  bm_max = 0
213  bm_min = 0
214  bm_cnt = 0
216  bm_first = 0
217  bm_std = 0
218  bm_avg = 0
219  bm_stddev = 0