[PATCH 0/3] TSC trace_clock

From: David Sharp
Date: Tue Sep 11 2012 - 22:41:37 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/