Implement wrapper around get_pfnblock_flags_mask
[lttng-modules.git] / Makefile
index 812ba9ba182c20944694346dfe0529c644266c5a..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 \
@@ -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.022962 seconds and 4 git commands to generate.