diff options
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r-- | kernel/sched_debug.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index b6d0a94d4120..d79e1ec5b06a 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c | |||
@@ -203,6 +203,19 @@ static int sched_debug_show(struct seq_file *m, void *v) | |||
203 | 203 | ||
204 | SEQ_printf(m, "now at %Lu.%06ld msecs\n", SPLIT_NS(now)); | 204 | SEQ_printf(m, "now at %Lu.%06ld msecs\n", SPLIT_NS(now)); |
205 | 205 | ||
206 | #define P(x) \ | ||
207 | SEQ_printf(m, " .%-30s: %Ld\n", #x, (long long)(x)) | ||
208 | #define PN(x) \ | ||
209 | SEQ_printf(m, " .%-30s: %Ld.%06ld\n", #x, SPLIT_NS(x)) | ||
210 | PN(sysctl_sched_latency); | ||
211 | PN(sysctl_sched_min_granularity); | ||
212 | PN(sysctl_sched_wakeup_granularity); | ||
213 | PN(sysctl_sched_batch_wakeup_granularity); | ||
214 | PN(sysctl_sched_child_runs_first); | ||
215 | P(sysctl_sched_features); | ||
216 | #undef PN | ||
217 | #undef P | ||
218 | |||
206 | for_each_online_cpu(cpu) | 219 | for_each_online_cpu(cpu) |
207 | print_cpu(m, cpu); | 220 | print_cpu(m, cpu); |
208 | 221 | ||