]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xen/trace: set up tracepoint skeleton
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 16 Dec 2010 22:15:23 +0000 (14:15 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 18 Jul 2011 22:43:04 +0000 (15:43 -0700)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/Makefile
arch/x86/xen/trace.c [new file with mode: 0644]

index 17c565de3d64a1aa4eaaf1dab1b133b1022fb2d4..6fdf366ff68834dc445593cdf11d28ea92beb14e 100644 (file)
@@ -13,7 +13,7 @@ CFLAGS_mmu.o                  := $(nostackp)
 obj-y          := enlighten.o setup.o multicalls.o mmu.o irq.o \
                        time.o xen-asm.o xen-asm_$(BITS).o \
                        grant-table.o suspend.o platform-pci-unplug.o \
-                       p2m.o
+                       p2m.o trace.o
 
 obj-$(CONFIG_SMP)              += smp.o
 obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
diff --git a/arch/x86/xen/trace.c b/arch/x86/xen/trace.c
new file mode 100644 (file)
index 0000000..8cca616
--- /dev/null
@@ -0,0 +1,4 @@
+#include <linux/ftrace.h>
+
+#define CREATE_TRACE_POINTS
+#include <trace/events/xen.h>