All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH lttng-modules] Fix: remove CONFIG_KALLSYMS_ALL warning on clean
@ 2017-05-05 16:08 Michael Jeanson
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Jeanson @ 2017-05-05 16:08 UTC (permalink / raw)
  To: mathieu.desnoyers; +Cc: lttng-dev

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 probes/Kbuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/probes/Kbuild b/probes/Kbuild
index bf14c75..a4f6b32 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),)
-- 
2.7.4

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH lttng-modules] Fix: remove CONFIG_KALLSYMS_ALL warning on clean
       [not found] <1494000487-27369-1-git-send-email-mjeanson@efficios.com>
@ 2017-05-05 17:33 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2017-05-05 17:33 UTC (permalink / raw)
  To: Michael Jeanson; +Cc: lttng-dev

Merged into master, 2.9, 2.8, thanks!

Mathieu

----- On May 5, 2017, at 12:08 PM, Michael Jeanson mjeanson@efficios.com wrote:

> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
> probes/Kbuild | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/probes/Kbuild b/probes/Kbuild
> index bf14c75..a4f6b32 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),)
> --
> 2.7.4

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-05 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-05 16:08 [PATCH lttng-modules] Fix: remove CONFIG_KALLSYMS_ALL warning on clean Michael Jeanson
     [not found] <1494000487-27369-1-git-send-email-mjeanson@efficios.com>
2017-05-05 17:33 ` Mathieu Desnoyers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.