diff options
-rw-r--r-- | kernel/trace/ring_buffer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 7739893a1d0a..bd1c35a4fbcc 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -2163,14 +2163,10 @@ rb_reserve_next_event(struct ring_buffer *buffer, | |||
2163 | delta = diff; | 2163 | delta = diff; |
2164 | if (unlikely(test_time_stamp(delta))) { | 2164 | if (unlikely(test_time_stamp(delta))) { |
2165 | WARN_ONCE(delta > (1ULL << 59), | 2165 | WARN_ONCE(delta > (1ULL << 59), |
2166 | KERN_WARNING "Delta way too big! %llu ts=%llu write stamp = %llu\n%s", | 2166 | KERN_WARNING "Delta way too big! %llu ts=%llu write stamp = %llu\n", |
2167 | (unsigned long long)delta, | 2167 | (unsigned long long)delta, |
2168 | (unsigned long long)ts, | 2168 | (unsigned long long)ts, |
2169 | (unsigned long long)cpu_buffer->write_stamp, | 2169 | (unsigned long long)cpu_buffer->write_stamp); |
2170 | sched_clock_stable ? "" : | ||
2171 | "If you just came from a suspend/resume,\n" | ||
2172 | "please switch to the trace global clock:\n" | ||
2173 | " echo global > /sys/kernel/debug/tracing/trace_clock\n"); | ||
2174 | add_timestamp = 1; | 2170 | add_timestamp = 1; |
2175 | } | 2171 | } |
2176 | } | 2172 | } |