From: Namhyung Kim Date: Thu, 27 Dec 2012 02:49:45 +0000 (+0900) Subject: tracing: Use sched_clock_cpu for trace_clock_global X-Git-Tag: v3.9-rc1~173^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e67b51e3fb22ad43faf9589e9019ad9c6a00413;p=pandora-kernel.git tracing: Use sched_clock_cpu for trace_clock_global For systems with an unstable sched_clock, all cpu_clock() does is enable/ disable local irq during the call to sched_clock_cpu(). And for stable systems they are same. trace_clock_global() already disables interrupts, so it can call sched_clock_cpu() directly. Link: http://lkml.kernel.org/r/1356576585-28782-2-git-send-email-namhyung@kernel.org Signed-off-by: Namhyung Kim Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed