mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-03 18:20:25 +02:00 
			
		
		
		
	sched: jiffies not printed per CPU
The jiffies value was being printed for each CPU, which does not seem to make sense. Moved jiffies to system section. Signed-off-by: Luis Henriques <henrix@sapo.pt> Acked-by: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20090318000425.GA2228@hades.domain.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
		
							parent
							
								
									37ba317c9e
								
							
						
					
					
						commit
						af66df5ecf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -272,7 +272,6 @@ static void print_cpu(struct seq_file *m, int cpu)
 | 
				
			||||||
	P(nr_switches);
 | 
						P(nr_switches);
 | 
				
			||||||
	P(nr_load_updates);
 | 
						P(nr_load_updates);
 | 
				
			||||||
	P(nr_uninterruptible);
 | 
						P(nr_uninterruptible);
 | 
				
			||||||
	SEQ_printf(m, "  .%-30s: %lu\n", "jiffies", jiffies);
 | 
					 | 
				
			||||||
	PN(next_balance);
 | 
						PN(next_balance);
 | 
				
			||||||
	P(curr->pid);
 | 
						P(curr->pid);
 | 
				
			||||||
	PN(clock);
 | 
						PN(clock);
 | 
				
			||||||
| 
						 | 
					@ -325,6 +324,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
 | 
				
			||||||
	SEQ_printf(m, "  .%-40s: %Ld\n", #x, (long long)(x))
 | 
						SEQ_printf(m, "  .%-40s: %Ld\n", #x, (long long)(x))
 | 
				
			||||||
#define PN(x) \
 | 
					#define PN(x) \
 | 
				
			||||||
	SEQ_printf(m, "  .%-40s: %Ld.%06ld\n", #x, SPLIT_NS(x))
 | 
						SEQ_printf(m, "  .%-40s: %Ld.%06ld\n", #x, SPLIT_NS(x))
 | 
				
			||||||
 | 
						P(jiffies);
 | 
				
			||||||
	PN(sysctl_sched_latency);
 | 
						PN(sysctl_sched_latency);
 | 
				
			||||||
	PN(sysctl_sched_min_granularity);
 | 
						PN(sysctl_sched_min_granularity);
 | 
				
			||||||
	PN(sysctl_sched_wakeup_granularity);
 | 
						PN(sysctl_sched_wakeup_granularity);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue