[lttng-dev] [lttng-modules PATCH] makefile: check kernel version and config token

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 21 16:47:02 EST 2011


Le Wed, 21 Dec 2011 14:30:23 +0100,
Gerlando Falauto <gerlando.falauto at keymile.com> a écrit :

> b) When configuration token CONFIG_TRACEPOINTS is not enabled,
>    display a warning

I definitely agree with this. At the moment, lttng-modules silently
builds nothing if CONFIG_TRACEPOINTS is not enabled.

Moreover, since CONFIG_TRACEPOINTS is an hidden kconfig option, it'd be
great to document which visible kconfig options should be selected to
get lttng running. So far, I'm enabling things like the "kernel function
tracer" which has the effect of selecting CONFIG_TRACEPOINTS, but I'm
not sure if it's the minimal set of options required to get lttng
working.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the lttng-dev mailing list