path: root/arch/frv/include/asm/Kbuild
diff options
authorDavid Sharp <>2012-11-13 12:18:21 -0800
committerSteven Rostedt <>2012-11-13 15:48:27 -0500
commit8cbd9cc6254065c97c4bac42daa55ba1abe73a8e (patch)
treebb52f23f66fc6288e7efbce76ee389af0b52cc85 /arch/frv/include/asm/Kbuild
parent7bcfaf54f591a0775254c4ea679faf615152ee3a (diff)
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: Acked-by: Ingo Molnar <> Cc: Masami Hiramatsu <> Cc: Ingo Molnar <> Cc: Thomas Gleixner <> Cc: "H. Peter Anvin" <> Signed-off-by: David Sharp <> Signed-off-by: Steven Rostedt <>
Diffstat (limited to 'arch/frv/include/asm/Kbuild')
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/frv/include/asm/Kbuild b/arch/frv/include/asm/Kbuild
index 4a159da23633..c5d767028306 100644
--- a/arch/frv/include/asm/Kbuild
+++ b/arch/frv/include/asm/Kbuild
@@ -1,3 +1,4 @@
generic-y += clkdev.h
generic-y += exec.h
+generic-y += trace_clock.h