summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-03-21 10:47:40 +0100
committerIngo Molnar <mingo@kernel.org>2016-03-21 10:47:40 +0100
commit42e405f7b1d252c90a2468dd2140f47b8142b7a0 (patch)
treebaeda52d8726fe694d3344a0d0fda1dadc30a901 /kernel/profile.c
parentsched/cputime: Fix steal time accounting vs. CPU hotplug (diff)
parentMerge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadlinux-42e405f7b1d252c90a2468dd2140f47b8142b7a0.tar.xz
linux-42e405f7b1d252c90a2468dd2140f47b8142b7a0.zip
Merge branch 'linus' into sched/urgent, to pick up dependencies
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/profile.c')
-rw-r--r--kernel/profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/profile.c b/kernel/profile.c
index 99513e1160e5..51369697466e 100644
--- a/kernel/profile.c
+++ b/kernel/profile.c
@@ -59,6 +59,7 @@ int profile_setup(char *str)
if (!strncmp(str, sleepstr, strlen(sleepstr))) {
#ifdef CONFIG_SCHEDSTATS
+ force_schedstat_enabled();
prof_on = SLEEP_PROFILING;
if (str[strlen(sleepstr)] == ',')
str += strlen(sleepstr) + 1;