Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fpid_next

Proto:static void *fpid_next(struct seq_file *m, void *v, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
void *v
loff_t *pos
7038  tr = private
7039  pid_list = fetch RCU-sched-protected pointer for dereferencing(function_pids)
7041  If v == Greater than any max PID Then
7042  pos++
7043  Return NULL
7045  Return race_pid_next - Used for seq_file to get to the next pid of a pid_list*@pid_list: The pid list to show*@v: The last pid that was shown (+1 the actual pid to let zero be displayed)*@pos: The position of the file* This is used by the seq_file "next"