aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/trace
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2013-03-14 17:53:25 -0400
committerSteven Rostedt <rostedt@goodmis.org>2013-03-15 00:36:10 -0400
commit76f119179b8ce3188a8c61d2486d37810a416655 (patch)
treeaa8e25756c29af47625d53b37896bca859408b63 /Documentation/trace
parenttracing: Add "uptime" trace clock that uses jiffies (diff)
downloadlinux-dev-76f119179b8ce3188a8c61d2486d37810a416655.tar.xz
linux-dev-76f119179b8ce3188a8c61d2486d37810a416655.zip
tracing: Add "perf" trace_clock
The function trace_clock() calls "local_clock()" which is exactly the same clock that perf uses. I'm not sure why perf doesn't call trace_clock(), as trace_clock() doesn't have any users. But now it does. As trace_clock() calls local_clock() like perf does, I added the trace_clock "perf" option that uses trace_clock(). Now the ftrace buffers can use the same clock as perf uses. This will be useful when perf starts reading the ftrace buffers, and will be able to interleave them with the same clock data. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions