Function report | 
Source Code:kernel\sched\debug.c | 
Create Date:2022-07-28 09:43:56 | 
| Last Modify:2020-03-17 13:39:02 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:print_task
Proto:static void print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | m | |
| struct rq * | rq | |
| struct task_struct * | p | 
| 436 | If curr == p Then This allows printing both to /proc/sched_debug and* to the console(m, ">R") | 
| 438 | Else This allows printing both to /proc/sched_debug and* to the console(m, " %c", task_state_to_char(p)) | 
| 441 | This allows printing both to /proc/sched_debug and* to the console(m, "%15s %5d %9Ld.%06ld %9Ld %5d ", * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock(), task_pid_nr(p), SPLIT_NS(vruntime), (longlong)( Context switch counts: + nivcsw), prio) | 
| 447 | This allows printing both to /proc/sched_debug and* to the console(m, "%9Ld.%06ld %9Ld.%06ld %9Ld.%06ld", SPLIT_NS(schedstat_val_or_zero(wait_sum)), SPLIT_NS(sum_exec_runtime), SPLIT_NS(schedstat_val_or_zero(sum_sleep_runtime))) | 
| Name | Describe | 
|---|---|
| print_rq | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |