Instrument x86 page faults
[lttng-modules.git] / probes / Makefile
index cc4c352168dcef0f97f57a0a6963d65401770a5a..8a068c16813c10f77b109146a6b2a3db581d428d 100644 (file)
@@ -48,6 +48,20 @@ endif
 endif
 endif
 
+ifneq ($(CONFIG_X86),)
+
+x86_irq_vectors_dep = $(srctree)/arch/x86/include/asm/trace/irq_vectors.h
+ifneq ($(wildcard $(x86_irq_vectors_dep)),)
+obj-m += lttng-probe-x86-irq-vectors.o
+endif
+
+x86_exceptions_dep = $(srctree)/arch/x86/include/asm/trace/exceptions.h
+ifneq ($(wildcard $(x86_exceptions_dep)),)
+obj-m += lttng-probe-x86-exceptions.o
+endif
+
+endif
+
 obj-m +=  $(shell \
        if [ $(VERSION) -ge 3 \
                -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 33 \) ] ; then \
@@ -258,6 +272,8 @@ endif
 
 endif
 
+obj-m += lttng-test.o
+
 else
        KERNELDIR ?= /lib/modules/$(shell uname -r)/build
        PWD := $(shell pwd)
This page took 0.02525 seconds and 4 git commands to generate.