[ltt-dev] [PATCH 1/2] Fix LTTng Kprobes support when modules are disabled

Mathieu Desnoyers mathieu.desnoyers at polymtl.ca
Tue Jul 7 19:35:26 EDT 2009


* Benjamin Poirier (benjamin.poirier at polymtl.ca) wrote:
> Change some Kconfig dependencies to allow the kernel to build when LTTng is
> enabled and module support is not. Without this patch, the kernel build breaks
> because LTT_KPROBES selects KPROBES but the latter depends on module support.
> 

Merged, thanks !

Mathieu

> Signed-off-by: Benjamin Poirier <benjamin.poirier at polytml.ca>
> ---
>  ltt/Kconfig |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/ltt/Kconfig b/ltt/Kconfig
> index dc85246..eec424c 100644
> --- a/ltt/Kconfig
> +++ b/ltt/Kconfig
> @@ -183,12 +183,10 @@ config LTT_STATEDUMP
>  
>  config LTT_KPROBES
>  	tristate "Linux Trace Toolkit Kprobes Support"
> -	depends on HAVE_KPROBES
>  	depends on LTT_TRACE_CONTROL
>  	depends on LTT_FAST_SERIALIZE
>  	depends on LTT_STATEDUMP
> -	select KPROBES
> -	select KALLSYMS
> +	depends on KPROBES
>  	default y
>  	help
>  	  Allows connecting the LTTng tracer on kprobes using simple debugfs
> -- 
> 1.6.3.1
> 
> 

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list