projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3142f76
)
clocksource: Add some debug info about clocksources being registered
author
John Stultz
<
[email protected]
>
Thu, 12 Mar 2015 04:16:39 +0000
(21:16 -0700)
committer
Ingo Molnar
<
[email protected]
>
Fri, 13 Mar 2015 07:07:07 +0000
(08:07 +0100)
Print the mask, max_cycles, and max_idle_ns values for
clocksources being registered.
Signed-off-by: John Stultz <
[email protected]
>
Cc: Dave Jones <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Prarit Bhargava <
[email protected]
>
Cc: Richard Cochran <
[email protected]
>
Cc: Stephen Boyd <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/time/clocksource.c
patch
|
blob
|
history
diff --git
a/kernel/time/clocksource.c
b/kernel/time/clocksource.c
index 5cdf17eb4fa677988da8c348958cb57c74728390..1977ebabd9226b4509f853f3798c5d1bd10001f9 100644
(file)
--- a/
kernel/time/clocksource.c
+++ b/
kernel/time/clocksource.c
@@
-703,6
+703,9
@@
void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq)
cs->name);
clocksource_update_max_deferment(cs);
+
+ pr_info("clocksource %s: mask: 0x%llx max_cycles: 0x%llx, max_idle_ns: %lld ns\n",
+ cs->name, cs->mask, cs->max_cycles, cs->max_idle_ns);
}
EXPORT_SYMBOL_GPL(__clocksource_updatefreq_scale);