summaryrefslogtreecommitdiff
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-08-19 21:33:26 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:18:46 (GMT)
commit191183bd4dd58398afa711a4457953b6bc2dd4c2 (patch)
treef57d8bafed2fee376785f860de03f450b8468803 /drivers/cpuidle
parent4c7a7a6b6d4b63bc641c92bc13b2f033d4753bb9 (diff)
downloadlinux-fsl-qoriq-191183bd4dd58398afa711a4457953b6bc2dd4c2.tar.xz
hwlat-detector: Use trace_clock_local if available
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, otherwise use ktime_get(). Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions