Skip to contentSkip to conversation

Fix: remove CONFIG_KALLSYMS_ALL warning on clean

PATCH Mathieu Desnoyers 1 participant 1 message May 5, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged into master, 2.9, 2.8, thanks!

Mathieu

Quoted 27 lines · ----- On May 5, 2017, at 12:08 PM, Michael Jeanson [email protected] wrote:

---
probes/Kbuild | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
probes/Kbuild +0 -0
index bf14c75..a4f6b32 100644
@@ -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.)

probes/Kbuild +2 -0
+  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),)
--
2.7.4

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev