Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:stat_seq_start

Proto:static void *stat_seq_start(struct seq_file *s, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct seq_file *s
loff_t *pos
173  session = private
175  n = pos
179  mutex_lock( & stat_mutex)
182  If stat_headers Then
183  If n == 0 Then Return SEQ_START_TOKEN
185  n--
188  node = This function returns the first node (in sort order) of the tree.
189  When node && i < n cycle node = rb_next(node)
192  Return node