Print build warning when writeback probe is disabled
[lttng-modules.git] / probes / Makefile
index f98f2c5995833e0437b95b918cee5e472e981711..8e4ceb7b3e4903b87542b33ab6546c40dbe3c019 100644 (file)
@@ -210,6 +210,8 @@ obj-m +=  $(shell \
        if [ $(VERSION) -ge 3 \
                -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 36 \) ] ; then \
                echo "lttng-probe-writeback.o" ; fi;)
+else
+$(warning CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem.)
 endif
 
 
This page took 0.02315 seconds and 4 git commands to generate.