Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lstats_show

Proto:static int lstats_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
221  seq_puts(m, "Latency Top version : v0.1\n")
223  When i < MAXLR cycle
224  lr = latency_record[i]
226  If backtrace[0] Then
228  seq_printf(m, "%i %lu %lu", count, time, max)
230  When q < LT_BACKTRACEDEPTH cycle
231  bt = backtrace[q]
233  If Not bt Then Break
236  seq_printf(m, " %ps", (void * )bt)
238  seq_puts(m, "\n")
241  Return 0