|
@@ -8602,7 +8602,7 @@ late_initcall_sync(clear_boot_tracer);
|
|
__init static int tracing_set_default_clock(void)
|
|
__init static int tracing_set_default_clock(void)
|
|
{
|
|
{
|
|
/* sched_clock_stable() is determined in late_initcall */
|
|
/* sched_clock_stable() is determined in late_initcall */
|
|
- if (trace_boot_clock || sched_clock_stable()) {
|
|
|
|
|
|
+ if (!trace_boot_clock && !sched_clock_stable()) {
|
|
printk(KERN_WARNING
|
|
printk(KERN_WARNING
|
|
"Unstable clock detected, switching default tracing clock to \"global\"\n"
|
|
"Unstable clock detected, switching default tracing clock to \"global\"\n"
|
|
"If you want to keep using the local clock, then add:\n"
|
|
"If you want to keep using the local clock, then add:\n"
|