Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\debug.c Create Date:2022-07-28 09:43:57
Last Modify:2020-03-17 13:39:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:print_rq

Proto:static void print_rq(struct seq_file *m, struct rq *rq, int rq_cpu)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct rq *rq
intrq_cpu
466  This allows printing both to /proc/sched_debug and* to the console(m, "\n")
467  This allows printing both to /proc/sched_debug and* to the console(m, "runnable tasks:\n")
468  This allows printing both to /proc/sched_debug and* to the console(m, " S task PID tree-key switches prio wait-time sum-exec sum-sleep\n")
470  This allows printing both to /proc/sched_debug and* to the console(m, "-----------------------------------------------------------------------------------------------------------\n")
473  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
474  Careful: this is a double loop, 'break' won't work as expected. (g, p)
475  If task_cpu(p) != rq_cpu Then Continue
478  print_task(m, rq, p)
480  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
Caller
NameDescribe
print_cpu