Fix compilation of ext4 and btrfs tracepoints on 2.6.40 kernels
[lttng-modules.git] / Makefile
index 2cfc69012509d2c931b18291e8cbb399011aa39b..4cc8b6bf429a47288adef4c69707c337cc4d97a0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,16 +20,19 @@ lttng-tracer-objs :=  lttng-events.o lttng-abi.o \
                        lttng-context-vpid.o lttng-context-tid.o \
                        lttng-context-vtid.o lttng-context-ppid.o \
                        lttng-context-vppid.o lttng-calibrate.o \
-                       wrapper/random.o
+                       lttng-context-hostname.o wrapper/random.o
+
+obj-m += lttng-statedump.o
+lttng-statedump-objs := lttng-statedump-impl.o wrapper/irqdesc.o
 
 ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),)
-lttng-tracer-objs += lttng-syscalls.o
+lttng-tracer-objs += lttng-syscalls.o probes/lttng-probe-user.o
 endif
 
 ifneq ($(CONFIG_PERF_EVENTS),)
 lttng-tracer-objs += $(shell \
        if [ $(VERSION) -ge 3 \
-               -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 33 \) ] ; then \
+               -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 34 \) ] ; then \
                echo "lttng-context-perf-counters.o" ; fi;)
 endif
 
@@ -52,4 +55,6 @@ modules_install:
 clean:
        $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
 
+%.i: %.c
+       $(MAKE) -C $(KERNELDIR) M=$(PWD) $@
 endif
This page took 0.022875 seconds and 4 git commands to generate.