linux/arch/hexagon
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
..
configs Hexagon: Comet platform support 2011-11-01 07:34:21 -07:00
include tracing,x86: Add a TSC trace_clock 2012-11-13 15:48:27 -05:00
kernel Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
lib Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
mm Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
Kconfig Make most arch asm/module.h files use asm-generic/module.h 2012-09-28 14:31:03 +09:30
Makefile various Kconfig cleanup and old platform build code removal 2012-05-22 18:44:43 -05:00