Fix: handle concurrent flush vs get_next_subbuf on metadata cache
[lttng-modules.git] / Makefile
index a9d1cb15911ba8d16c4d9e2af301246b8e492c3b..606b5ec8b104b756dad0f56e35105c67d43c5907 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,8 @@ 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 \
-                       lttng-context-hostname.o wrapper/random.o
+                       lttng-context-hostname.o wrapper/random.o \
+                       probes/lttng.o
 
 obj-m += lttng-statedump.o
 lttng-statedump-objs := lttng-statedump-impl.o wrapper/irqdesc.o \
@@ -37,6 +38,10 @@ lttng-tracer-objs += $(shell \
                echo "lttng-context-perf-counters.o" ; fi;)
 endif # CONFIG_PERF_EVENTS
 
+lttng-tracer-objs += $(shell \
+       if [ $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 -a $(SUBLEVEL) -ge 0 ] ; then \
+               echo "lttng-tracepoint.o" ; fi;)
+
 obj-m += probes/
 obj-m += lib/
 
This page took 0.022752 seconds and 4 git commands to generate.