Fix: dma_fence tracepoint Kbuild typo
[lttng-modules.git] / src / probes / Kbuild
index aa002534ab5424e59318f8c6b86715f935a807e6..7e2930dce2de74ea838c0b062ebcf05a739c3079 100644 (file)
@@ -97,6 +97,13 @@ endif # CONFIG_X86
 
 obj-$(CONFIG_LTTNG) += lttng-probe-signal.o
 
+ifneq ($(CONFIG_DMA_SHARED_BUFFER),)
+  obj-$(CONFIG_LTTNG) += $(shell \
+    if [ $(VERSION) -ge 5 \
+       -o \( $(VERSION) -eq 4 -a $(PATCHLEVEL) -ge 9 \) ] ; then \
+      echo "lttng-probe-dma-fence.o" ; fi;)
+endif # CONFIG_DMA_SHARED_BUFFER
+
 ifneq ($(CONFIG_BLOCK),)
   # need blk_cmd_buf_len
   ifneq ($(CONFIG_EVENT_TRACING),)
This page took 0.022935 seconds and 4 git commands to generate.