Fix: ensure userspace accesses are done with _inatomic
[lttng-modules.git] / Makefile
index 2cfc69012509d2c931b18291e8cbb399011aa39b..b91113e475e994b51b2c3aa9998fcccb425d3e45 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,11 @@ lttng-tracer-objs :=  lttng-events.o lttng-abi.o \
                        lttng-context-vppid.o lttng-calibrate.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),)
@@ -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.023474 seconds and 4 git commands to generate.