Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9345aab authored by Ingo Molnar's avatar Ingo Molnar
Browse files

Revert "tracing: Add unstable sched clock note to the warning"



This reverts commit 5e38ca8f.

Breaks the build of several !CONFIG_HAVE_UNSTABLE_SCHED_CLOCK
architectures.

Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Message-ID: <20110217171823.GB17058@elte.hu>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent bee96907
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -2163,14 +2163,10 @@ rb_reserve_next_event(struct ring_buffer *buffer,
		delta = diff;
		if (unlikely(test_time_stamp(delta))) {
			WARN_ONCE(delta > (1ULL << 59),
				  KERN_WARNING "Delta way too big! %llu ts=%llu write stamp = %llu\n%s",
				  KERN_WARNING "Delta way too big! %llu ts=%llu write stamp = %llu\n",
				  (unsigned long long)delta,
				  (unsigned long long)ts,
				  (unsigned long long)cpu_buffer->write_stamp,
				  sched_clock_stable ? "" :
				  "If you just came from a suspend/resume,\n"
				  "please switch to the trace global clock:\n"
				  "  echo global > /sys/kernel/debug/tracing/trace_clock\n");
				  (unsigned long long)cpu_buffer->write_stamp);
			add_timestamp = 1;
		}
	}