Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fpid_start

Proto:static void *fpid_start(struct seq_file *m, loff_t *pos)__acquires(RCU)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
loff_t *pos
7023  tr = private
7025  mutex_lock( & ftrace_lock)
7026  _read_lock_sched() - mark the beginning of a RCU-sched critical section* This is equivalent of rcu_read_lock(), but disables preemption.* Read-side critical sections can also be introduced by anything else
7028  pid_list = fetch RCU-sched-protected pointer for dereferencing(function_pids)
7030  If Not pid_list Then Return !( * pos) ? Greater than any max PID : NULL
7033  Return 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