Updated to move arch-specific bits out of generic code. I did this by adding a new file in asm-generic because I couldn't think of a better place to put it, but I'm open to suggestions.
David Sharp (3): tracing,x86: add a TSC trace_clock tracing: reset ring buffer when changing trace_clocks tracing: format non-nanosec times from tsc clock without a decimal point. arch/x86/include/asm/trace_clock.h | 16 +++++++ arch/x86/kernel/Makefile | 1 + arch/x86/kernel/trace_clock.c | 20 +++++++++ include/asm-generic/trace_clock.h | 15 +++++++ include/linux/ftrace_event.h | 6 +++ include/linux/trace_clock.h | 2 + kernel/trace/trace.c | 24 +++++++++- kernel/trace/trace.h | 4 -- kernel/trace/trace_output.c | 82 +++++++++++++++++++++++++----------- 9 files changed, 138 insertions(+), 32 deletions(-) create mode 100644 arch/x86/include/asm/trace_clock.h create mode 100644 arch/x86/kernel/trace_clock.c create mode 100644 include/asm-generic/trace_clock.h -- 1.7.7.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/