[lttng-dev] [PATCH lttng-modules] Fix: remove CONFIG_KALLSYMS_ALL warning on clean

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri May 5 17:33:11 UTC 2017


Merged into master, 2.9, 2.8, thanks!

Mathieu

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

> Signed-off-by: Michael Jeanson <mjeanson at 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


More information about the lttng-dev mailing list