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.6.0-rc1~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bf2ba318fff2423a87cdd47bcf8345ccaa49447b;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