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: http://git.lttng.org./?a=commitdiff_plain;h=bf2ba318fff2423a87cdd47bcf8345ccaa49447b;hp=505fb41059f97c7c4ee456bafabcb6528df8ebe2;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