LTTng: probe-statedump: add #include <linux/sched.h>
[lttng-modules.git] / Makefile
index 2cfc69012509d2c931b18291e8cbb399011aa39b..d06e6764119d4acd0d49745be0ac8a2c4445b5b2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,9 @@ 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
 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.023815 seconds and 4 git commands to generate.