linux/arch/score/include/asm
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
..
asm-offsets.h score: add asm/asm-offsets.h wrapper 2009-12-12 13:08:16 +01:00
asmmacro.h
atomic.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
auxvec.h
barrier.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
bitops.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
bitsperlong.h
bug.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
bugs.h
byteorder.h
cache.h
cacheflush.h score: add flush_dcahce_page and PG_dcache_dirty define 2009-12-17 18:28:31 +08:00
checksum.h
cmpxchg.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
cputime.h
current.h
delay.h score: include asm-generic/param.h in asm/delay.h. 2009-12-17 18:31:23 +08:00
device.h
div64.h
dma-mapping.h
dma.h
elf.h cross-arch: don't corrupt personality flags upon exec() 2012-10-06 03:04:47 +09:00
emergency-restart.h
errno.h
exec.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
fcntl.h
fixmap.h
ftrace.h
futex.h
hardirq.h
hw_irq.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
irq.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
irqflags.h score: lost a semicolon in asm/irqflags.h 2011-03-28 12:02:20 +08:00
Kbuild tracing,x86: Add a TSC trace_clock 2012-11-13 15:48:27 -05:00
kdebug.h
kmap_types.h
kvm_para.h kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
linkage.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
local.h
mman.h
mmu_context.h
mmu.h
module.h Make most arch asm/module.h files use asm-generic/module.h 2012-09-28 14:31:03 +09:30
msgbuf.h
mutex.h
page.h score: fixed pfn_valid define. 2009-12-17 18:28:31 +08:00
param.h
pci.h
percpu.h
pgalloc.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
pgtable-bits.h
pgtable.h mm: remove pte_*map_nested() 2010-10-26 16:52:08 -07:00
poll.h
posix_types.h
processor.h fork: move the real prepare_to_copy() users to arch_dup_task_struct() 2012-05-16 15:16:26 -07:00
ptrace.h ptrace: move user_enable_single_step & co prototypes to linux/ptrace.h 2010-03-12 15:52:38 -08:00
resource.h
scatterlist.h remove needless ISA_DMA_THRESHOLD 2010-08-07 18:15:50 +02:00
scoreregs.h
sections.h
segment.h
sembuf.h
setup.h score: add MEMORY_START and MEMORY_SIZE define, to make the code clear 2009-08-30 12:31:58 +08:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
socket.h
sockios.h
stat.h
statfs.h
string.h
swab.h
switch_to.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
syscalls.h score: add prototypes for wrapped syscalls 2009-06-19 14:10:46 +02:00
termbits.h
termios.h
thread_info.h sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
ucontext.h score: add missing #includes 2009-06-27 15:09:46 +02:00
unaligned.h
unistd.h UAPI: Fix the guards on various asm/unistd.h files 2012-10-04 12:10:18 +01:00
user.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00