Implement wrapper around get_pfnblock_flags_mask
[lttng-modules.git] / Makefile
index 35d765e0229ba665f541be63afe91013a676c7d3..bdbd5b35b6cd6e2ad7c4042147cad002d5fa740a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,7 @@ lttng-tracer-objs :=  lttng-events.o lttng-abi.o \
                        lttng-context-vppid.o lttng-calibrate.o \
                        lttng-context-hostname.o wrapper/random.o \
                        probes/lttng.o wrapper/trace-clock.o \
+                       wrapper/page_alloc.o \
                        lttng-tracker-pid.o \
                        lttng-filter.o lttng-filter-interpreter.o \
                        lttng-filter-specialize.o \
@@ -46,9 +47,9 @@ obj-m += lttng-statedump.o
 lttng-statedump-objs := lttng-statedump-impl.o wrapper/irqdesc.o \
                        wrapper/fdtable.o
 
-#ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),)
-#lttng-tracer-objs += lttng-syscalls.o
-#endif # CONFIG_HAVE_SYSCALL_TRACEPOINTS
+ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),)
+lttng-tracer-objs += lttng-syscalls.o
+endif # CONFIG_HAVE_SYSCALL_TRACEPOINTS
 
 ifneq ($(CONFIG_PERF_EVENTS),)
 lttng-tracer-objs += $(shell \
@@ -58,7 +59,8 @@ lttng-tracer-objs += $(shell \
 endif # CONFIG_PERF_EVENTS
 
 lttng-tracer-objs += $(shell \
-       if [ $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 -a $(SUBLEVEL) -ge 0 ] ; then \
+       if [ $(VERSION) -ge 4 \
+               -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 -a $(SUBLEVEL) -ge 0 \) ] ; then \
                echo "lttng-tracepoint.o" ; fi;)
 
 obj-m += probes/
This page took 0.023781 seconds and 4 git commands to generate.