]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70d8b38ec389c0e96dfbb57dbdefc45ab15be737
treed85c4bbe7fab3bcc9347de3a7788789fc2aa7c8d
parent5173812b78254d6e98b59e2a015ac84f82c2b223
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