[PATCH RT 13/16] hwlat-detector: Use trace_clock_local if available

2013-09-09 Thread Steven Rostedt
From: Steven Rostedt As ktime_get() calls into the timing code which does a read_seq(), it may be affected by other CPUS that touch that lock. To remove this dependency, use the trace_clock_local() which is already exported for module use. If CONFIG_TRACING is enabled, use that as the clock, othe

[PATCH RT 13/16] hwlat-detector: Use trace_clock_local if available

2013-09-09 Thread Steven Rostedt
From: Steven Rostedt As ktime_get() calls into the timing code which does a read_seq(), it may be affected by other CPUS that touch that lock. To remove this dependency, use the trace_clock_local() which is already exported for module use. If CONFIG_TRACING is enabled, use that as the clock, othe

[PATCH RT 13/16] hwlat-detector: Use trace_clock_local if available

2013-09-09 Thread Steven Rostedt
From: Steven Rostedt As ktime_get() calls into the timing code which does a read_seq(), it may be affected by other CPUS that touch that lock. To remove this dependency, use the trace_clock_local() which is already exported for module use. If CONFIG_TRACING is enabled, use that as the clock, othe