From: Mathieu Desnoyers Date: Sun, 12 Oct 2014 16:18:13 +0000 (+0200) Subject: Print build warning when writeback probe is disabled X-Git-Tag: v2.5.1~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e5429076065c125bd9550a7c2c037689b79d5861;p=lttng-modules.git Print build warning when writeback probe is disabled Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/Makefile b/probes/Makefile index f98f2c59..8e4ceb7b 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -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