Comment 3 for bug 764796

Revision history for this message
Paweł Moll (pawel-moll) wrote :

I just had a look at all the different kernels in https://launchpad.net/~linaro-maintainers/+archive/kernel and the configurations are still very different:

                        lt-mx5 mx5 vexpress omap lt-omap
HIGH_RES_TIMERS + + - + +
LOCAL_TIMERS N/A N/A + + +
PROFILING + - + + +
PERF_EVENTS + - - + -
HW_PERF_EVENTS + - + + -
FTRACE - - + + +
TRACING/GENERIC_TRACER - - - + +

In result only the "omap" image is fully useful for profiling tasks (either with perf or Streamline). Also, I really wonder how the gator-module-* packages in the DS-5 PPA (https://launchpad.net/~linaro-maintainers/+archive/arm-ds5) build at all, as they need the above options being set...

And, generally, wouldn't it be a good idea to unify kernel configuration (I mean the non-platform-dependent bits) across LTs and Platforms builds? As we are heading in the direction of Single Kernel to Rule Them All, this will be needed at some point of time anyway.

The config files I've extracted from the debs and checked:

config-2.6.38-1400-linaro-lt-mx5
config-3.0.0-1001-linaro-mx51
config-3.0.0-1001-linaro-vexpress
config-3.0.0-1007-linaro-omap
config-3.0.0-1402-linaro-lt-omap

$ grep CONFIG_HIGH_RES_TIMERS=y *
config-2.6.38-1400-linaro-lt-mx5:CONFIG_HIGH_RES_TIMERS=y
config-3.0.0-1001-linaro-mx51:CONFIG_HIGH_RES_TIMERS=y
config-3.0.0-1007-linaro-omap:CONFIG_HIGH_RES_TIMERS=y
config-3.0.0-1402-linaro-lt-omap:CONFIG_HIGH_RES_TIMERS=y
$ grep CONFIG_LOCAL_TIMERS=y *
config-3.0.0-1001-linaro-vexpress:CONFIG_LOCAL_TIMERS=y
config-3.0.0-1007-linaro-omap:CONFIG_LOCAL_TIMERS=y
config-3.0.0-1402-linaro-lt-omap:CONFIG_LOCAL_TIMERS=y
$ grep CONFIG_PROFILING=y *
config-2.6.38-1400-linaro-lt-mx5:CONFIG_PROFILING=y
config-3.0.0-1001-linaro-vexpress:CONFIG_PROFILING=y
config-3.0.0-1007-linaro-omap:CONFIG_PROFILING=y
config-3.0.0-1402-linaro-lt-omap:CONFIG_PROFILING=y
$ grep CONFIG_PERF_EVENTS=y *
config-2.6.38-1400-linaro-lt-mx5:CONFIG_PERF_EVENTS=y
config-3.0.0-1001-linaro-vexpress:CONFIG_PERF_EVENTS=y
config-3.0.0-1007-linaro-omap:CONFIG_PERF_EVENTS=y
$ grep CONFIG_HW_PERF_EVENTS=y *
config-2.6.38-1400-linaro-lt-mx5:CONFIG_HW_PERF_EVENTS=y
config-3.0.0-1001-linaro-vexpress:CONFIG_HW_PERF_EVENTS=y
config-3.0.0-1007-linaro-omap:CONFIG_HW_PERF_EVENTS=y
$ grep CONFIG_FTRACE=y *
config-3.0.0-1001-linaro-vexpress:CONFIG_FTRACE=y
config-3.0.0-1007-linaro-omap:CONFIG_FTRACE=y
config-3.0.0-1402-linaro-lt-omap:CONFIG_FTRACE=y
$ grep -e "\(CONFIG_TRACING=y\|CONFIG_GENERIC_TRACER=y\)" *
config-3.0.0-1007-linaro-omap:CONFIG_GENERIC_TRACER=y
config-3.0.0-1007-linaro-omap:CONFIG_TRACING=y
config-3.0.0-1402-linaro-lt-omap:CONFIG_TRACING=y