summaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-09-13 12:22:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-13 12:22:32 -0700
commitec846ecd6350857a8b8b9a6b78c763d45e0f09b8 (patch)
tree44896da8501c42f2c41b7fc17975dc7fe16b2789 /kernel/sched/sched.h
parentb5df1b3a5637deae352d282b50d4b99d0e2b8d1d (diff)
parent9469eb01db891b55367ee7539f1b9f7f6fd2819d (diff)
downloadblackbird-op-linux-ec846ecd6350857a8b8b9a6b78c763d45e0f09b8.tar.gz
blackbird-op-linux-ec846ecd6350857a8b8b9a6b78c763d45e0f09b8.zip
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar: "Three CPU hotplug related fixes and a debugging improvement" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/debug: Add debugfs knob for "sched_debug" sched/core: WARN() when migrating to an offline CPU sched/fair: Plug hole between hotplug and active_load_balance() sched/fair: Avoid newidle balance for !active CPUs
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 746ac78ff492..14db76cd496f 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1951,6 +1951,8 @@ extern struct sched_entity *__pick_first_entity(struct cfs_rq *cfs_rq);
extern struct sched_entity *__pick_last_entity(struct cfs_rq *cfs_rq);
#ifdef CONFIG_SCHED_DEBUG
+extern bool sched_debug_enabled;
+
extern void print_cfs_stats(struct seq_file *m, int cpu);
extern void print_rt_stats(struct seq_file *m, int cpu);
extern void print_dl_stats(struct seq_file *m, int cpu);
OpenPOWER on IntegriCloud