@@ -739,7 +739,7 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)
739
739
else
740
740
SEQ_printf (m , " %c" , task_state_to_char (p ));
741
741
742
- SEQ_printf (m , "%15s %5d %9Ld.%06ld %c %9Ld.%06ld %c %9Ld.%06ld %9Ld.%06ld %9Ld %5d " ,
742
+ SEQ_printf (m , " %15s %5d %9Ld.%06ld %c %9Ld.%06ld %c %9Ld.%06ld %9Ld.%06ld %9Ld %5d " ,
743
743
p -> comm , task_pid_nr (p ),
744
744
SPLIT_NS (p -> se .vruntime ),
745
745
entity_eligible (cfs_rq_of (& p -> se ), & p -> se ) ? 'E' : 'N' ,
@@ -750,17 +750,16 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)
750
750
(long long )(p -> nvcsw + p -> nivcsw ),
751
751
p -> prio );
752
752
753
- SEQ_printf (m , "%9lld.%06ld %9lld.%06ld %9lld.%06ld %9lld.%06ld " ,
753
+ SEQ_printf (m , "%9lld.%06ld %9lld.%06ld %9lld.%06ld" ,
754
754
SPLIT_NS (schedstat_val_or_zero (p -> stats .wait_sum )),
755
- SPLIT_NS (p -> se .sum_exec_runtime ),
756
755
SPLIT_NS (schedstat_val_or_zero (p -> stats .sum_sleep_runtime )),
757
756
SPLIT_NS (schedstat_val_or_zero (p -> stats .sum_block_runtime )));
758
757
759
758
#ifdef CONFIG_NUMA_BALANCING
760
- SEQ_printf (m , " %d %d" , task_node (p ), task_numa_group_id (p ));
759
+ SEQ_printf (m , " %d %d" , task_node (p ), task_numa_group_id (p ));
761
760
#endif
762
761
#ifdef CONFIG_CGROUP_SCHED
763
- SEQ_printf_task_group_path (m , task_group (p ), " %s" )
762
+ SEQ_printf_task_group_path (m , task_group (p ), " %s" )
764
763
#endif
765
764
766
765
SEQ_printf (m , "\n" );
@@ -772,10 +771,26 @@ static void print_rq(struct seq_file *m, struct rq *rq, int rq_cpu)
772
771
773
772
SEQ_printf (m , "\n" );
774
773
SEQ_printf (m , "runnable tasks:\n" );
775
- SEQ_printf (m , " S task PID tree-key switches prio"
776
- " wait-time sum-exec sum-sleep\n" );
774
+ SEQ_printf (m , " S task PID vruntime eligible "
775
+ "deadline slice sum-exec switches "
776
+ "prio wait-time sum-sleep sum-block"
777
+ #ifdef CONFIG_NUMA_BALANCING
778
+ " node group-id"
779
+ #endif
780
+ #ifdef CONFIG_CGROUP_SCHED
781
+ " group - path "
782
+ #endif
783
+ " \n ");
777
784
SEQ_printf (m , "-------------------------------------------------------"
778
- "------------------------------------------------------\n" );
785
+ "------------------------------------------------------"
786
+ "------------------------------------------------------"
787
+ #ifdef CONFIG_NUMA_BALANCING
788
+ "--------------"
789
+ #endif
790
+ #ifdef CONFIG_CGROUP_SCHED
791
+ "-- -- -- -- -- -- -- "
792
+ #endif
793
+ "\n ");
779
794
780
795
rcu_read_lock ();
781
796
for_each_process_thread (g , p ) {
0 commit comments