[for-next][PATCH 03/18] tracing: Default to using trace_global_clock if sched_clock is unstable

2018-04-06 Thread Steven Rostedt
From: Chris Wilson Across suspend, we may see a very large drift in timestamps if the sched clock is unstable, prompting the global trace's ringbuffer code to warn and suggest switching to the global clock. Preempt this request by detecting when the sched clock is

[for-next][PATCH 03/18] tracing: Default to using trace_global_clock if sched_clock is unstable

2018-04-06 Thread Steven Rostedt
From: Chris Wilson Across suspend, we may see a very large drift in timestamps if the sched clock is unstable, prompting the global trace's ringbuffer code to warn and suggest switching to the global clock. Preempt this request by detecting when the sched clock is unstable (determined during