xen/trace: set up tracepoint skeleton

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
Jeremy Fitzhardinge 2010-12-16 14:15:23 -08:00
parent 84cdee76b1
commit f04e2ee41d
2 changed files with 5 additions and 1 deletions

View 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

4
arch/x86/xen/trace.c Normal file
View file

@ -0,0 +1,4 @@
#include <linux/ftrace.h>
#define CREATE_TRACE_POINTS
#include <trace/events/xen.h>