lkml.org 
[lkml]   [2012]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] TSC trace_clock
Date
As discussed at Plumbers, here are my patches to add a TSC clock to ftrace.
Also noticeable is that the formatting patch improves the output of the
"counter" clock.

David Sharp (3):
tracing,x86: add a TSC trace_clock; reset buffer on clock change
tracing: reset ring buffer when changing trace_clocks
tracing: format non-nanosec times from tsc clock without a decimal
point.

include/linux/ftrace_event.h | 6 +++
include/linux/trace_clock.h | 3 ++
kernel/trace/trace.c | 26 ++++++++++++--
kernel/trace/trace.h | 4 --
kernel/trace/trace_clock.c | 16 ++++++++
kernel/trace/trace_output.c | 82 +++++++++++++++++++++++++++++-------------
6 files changed, 105 insertions(+), 32 deletions(-)
--
1.7.7.3



\
 
 \ /
  Last update: 2012-09-12 05:21    [from the cache]
©2003-2011 Jasper Spaans