summaryrefslogtreecommitdiffstats
path: root/kernel/sched_clock.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-11-19 21:11:09 +0100
committerIngo Molnar <mingo@elte.hu>2010-11-23 10:29:08 +0100
commit5bb6b1ea67a73f0665a41726dd7138977b992c6c (patch)
treed16d962dded41088032250b24f0cbee735f3c97c /kernel/sched_clock.c
parent51a96c77815e7f139892a6e9c8275a50e9baebdf (diff)
downloadlinux-5bb6b1ea67a73f0665a41726dd7138977b992c6c.tar.gz
linux-5bb6b1ea67a73f0665a41726dd7138977b992c6c.tar.bz2
linux-5bb6b1ea67a73f0665a41726dd7138977b992c6c.zip
sched: Add some clock info to sched_debug
Add more clock information to /proc/sched_debug, Thomas wanted to see the sched_clock_stable state. Requested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_clock.c')
-rw-r--r--kernel/sched_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_clock.c b/kernel/sched_clock.c
index 52f1a149bfb1..9d8af0b3fb64 100644
--- a/kernel/sched_clock.c
+++ b/kernel/sched_clock.c
@@ -79,7 +79,7 @@ unsigned long long __attribute__((weak)) sched_clock(void)
}
EXPORT_SYMBOL_GPL(sched_clock);
-static __read_mostly int sched_clock_running;
+__read_mostly int sched_clock_running;
#ifdef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK
__read_mostly int sched_clock_stable;