2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/arch/um/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
..
a.out-core.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
bugs.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
cache.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
common.lds.S percpu: Always align percpu output section to PAGE_SIZE 2011-03-24 18:50:09 +01:00
dma.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
fixmap.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
irq.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
irqflags.h um: kill system-um.h 2011-11-02 14:15:34 +01:00
Kbuild tracing,x86: Add a TSC trace_clock 2012-11-13 15:48:27 -05:00
kmap_types.h um: remove km_type definitions 2012-07-24 15:27:31 +08:00
kvm_para.h kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
mmu_context.h um: uml_dup_mmap() relies on ->mmap_sem being held, but activate_mm() doesn't hold it 2012-03-20 21:29:50 -04:00
mmu.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
page.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
pgalloc.h um: remove pointless include of asm/fixmap.h from asm/pgtable.h 2012-03-25 00:29:55 +01:00
pgtable-2level.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
pgtable-3level.h um, x86: Cast to (u64 *) inside set_64bit() 2010-08-03 07:00:16 -07:00
pgtable.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
processor-generic.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-10-13 10:05:52 +09:00
ptrace-generic.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
setup.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
smp.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
sysrq.h um: move sysrq.h out of include/shared 2012-10-09 22:28:19 +02:00
thread_info.h sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
timex.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
tlb.h um: mmu_gather rework 2011-05-25 08:39:15 -07:00
tlbflush.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
uaccess.h um: kill um_uaccess.h 2011-11-02 14:15:13 +01:00