From e5429076065c125bd9550a7c2c037689b79d5861 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 12 Oct 2014 18:18:13 +0200 Subject: [PATCH] Print build warning when writeback probe is disabled Signed-off-by: Mathieu Desnoyers --- probes/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1