函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lstats_show

函数原型:static int lstats_show(struct seq_file *m, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *v
221  seq_puts(m, "Latency Top version : v0.1\n")
223 i小于MAXLR循环
224  lr等于latency_record[i]
226  如果backtrace[0]则
228  seq_printf(m, "%i %lu %lu", count, time, max)
230 q小于LT_BACKTRACEDEPTH循环
231  bt等于backtrace[q]
233  如果非bt退出
236  seq_printf(m, " %ps", (void * )bt)
238  seq_puts(m, "\n")
241  返回:0