linux/arch/xtensa
David Sharp 8cbd9cc625 tracing,x86: Add a TSC trace_clock
In order to promote interoperability between userspace tracers and ftrace,
add a trace_clock that reports raw TSC values which will then be recorded
in the ring buffer. Userspace tracers that also record TSCs are then on
exactly the same time base as the kernel and events can be unambiguously
interlaced.

Tested: Enabled a tracepoint and the "tsc" trace_clock and saw very large
timestamp values.

v2:
Move arch-specific bits out of generic code.
v3:
Rename "x86-tsc", cleanups
v7:
Generic arch bits in Kbuild.

Google-Bug-Id: 6980623
Link: http://lkml.kernel.org/r/1352837903-32191-1-git-send-email-dhsharp@google.com

Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@linux.intel.com>
Signed-off-by: David Sharp <dhsharp@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2012-11-13 15:48:27 -05:00
..
boot xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
configs xtensa: drop CONFIG_EMBEDDED_RAMDISK 2012-10-03 15:13:09 -07:00
include tracing,x86: Add a TSC trace_clock 2012-11-13 15:48:27 -05:00
kernel xtensa: minor compiler warning fix 2012-10-19 10:24:20 -07:00
lib xtensa: fix memmove(), bcopy(), and memcpy(). 2012-10-15 21:41:19 -07:00
mm xtensa: fix missing return in do_page_fault for SIGBUS case 2012-10-15 21:42:52 -07:00
platforms xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
variants xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer 2012-05-17 22:47:41 +02:00
Kconfig Xtensa patchset for 3.7 2012-10-09 16:11:46 +09:00
Kconfig.debug [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 1 2005-06-24 00:05:21 -07:00
Makefile xtensa: Setup CROSS_COMPILE at the top 2012-10-04 12:16:20 -07:00