Print build warning when writeback probe is disabled
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 12 Oct 2014 16:18:13 +0000 (18:18 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 20 Oct 2014 18:59:00 +0000 (14:59 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.026226 seconds and 4 git commands to generate.