Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:race_pid_start - Used for seq_file to start reading pid lists*@pid_list: The pid list to show*@pos: The position of the file* This is used by seq_file "start" operation to start the iteration* of listing pids

Proto:void *trace_pid_start(struct trace_pid_list *pid_list, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct trace_pid_list *pid_list
loff_t *pos
479  l = 0
481  pid = find the first set bit in a memory region(pids, pid_max)
482  If pid >= pid_max Then Return NULL
486  When pid && l < pos cycle Return pid
Caller
NameDescribe
p_start
fpid_start