Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:p_start

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

Type:void

Parameter:

TypeParameterName
struct seq_file *m
loff_t *pos
1026  tr = private
1034  mutex_lock( & event_mutex)
1035  _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
1037  pid_list = fetch RCU-sched-protected pointer for dereferencing(filtered_pids)
1039  If Not pid_list Then Return NULL
1042  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