tracing: Explain about unstable clock on resume with ring buffer warning
authorJiri Olsa <jolsa@redhat.com>
Fri, 18 Feb 2011 14:52:19 +0000 (15:52 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Mar 2011 15:34:47 +0000 (10:34 -0500)
commit31274d72f01604f4b02d933b4f3cac84d2c201fd
treed85c4bbe7fab3bcc9347de3a7788789fc2aa7c8d
parent722b3c74695377d11d18a52f3da08114d37f3f37
tracing: Explain about unstable clock on resume with ring buffer warning

The "Delta way too big" warning might appear on a system with a
unstable shed clock right after the system is resumed and tracing
was enabled at time of suspend.

Since it's not realy a bug, and the unstable sched clock is working
fast and reliable otherwise, Steven suggested to keep using the
sched clock in any case and just to make note in the warning itself.

v2 changes:
- added #ifdef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
LKML-Reference: <20110218145219.GD2604@jolsa.brq.redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c