X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2FKbuild;h=a4f6b32af172bedfba2b1a443b7b94d7d82b27bc;hb=c11ab967decd550b28111b2767eda20e7e6be3fd;hp=bf14c751c1a1fcf953f1c5433795d57c1f0d5ac0;hpb=12988eb9d3fb81d794411f02c4bd132647731325;p=lttng-modules.git diff --git a/probes/Kbuild b/probes/Kbuild index bf14c751..a4f6b32a 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -243,7 +243,9 @@ ifneq ($(CONFIG_KALLSYMS_ALL),) -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -eq 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.) + ifdef CONFIG_LOCALVERSION # Check if dot-config is included. + $(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 endif # CONFIG_KALLSYMS_ALL ifneq ($(CONFIG_KPROBES),)