Skip to content

Commit

Permalink
xen/trace: set up tracepoint skeleton
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed Jul 18, 2011
1 parent 84cdee7 commit f04e2ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions arch/x86/xen/trace.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include <linux/ftrace.h>

#define CREATE_TRACE_POINTS
#include <trace/events/xen.h>

0 comments on commit f04e2ee

Please sign in to comment.