generic-poky/meta/recipes-kernel
Bruce Ashfield 4ed858bc76 linux-yocto/3.10: fix long perf compile times
perf's builtin-sched.c triggers extremly long build times on some
architectures due to gcc 4.7+ var-tracking functionality.

To fix this, we can cherry pick the 3.12 commit:

  f36f83f94 [perf sched: Move struct perf_sched definition out of cmd_sched()]

With this change build times are reduced from 15 to 20 minutes for qemuarm to:

  real    2m19.940s
  user    1m35.438s
  sys     0m11.165s

For kernel's that are not carrying this patch, the following can be added
to the perf recipe to also fix the issue:

    +++ b/meta/recipes-kernel/perf/perf.bb
    @@ -68,6 +68,7 @@ EXTRA_OEMAKE = \
		    CC="${CC}" \
		    AR="${AR}" \
		    perfexecdir=${libexecdir} \
    +               EXTRA_CFLAGS="-fno-var-tracking" \
		    NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \

(From OE-Core rev: 82ad5305381c2f541ef051a8fc28243cd91776fe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-18 19:49:41 +01:00
..
blktrace remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
dtc remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
kern-tools kern-tools: support no author patches 2013-09-06 23:04:53 +01:00
kexec kexec-tools: upgraded to 2.0.4 2013-05-12 09:37:30 +01:00
kmod kmod: avoid parallel-tests 2013-09-10 15:57:20 +01:00
latencytop Upstream-Status: Correct capitalization 2013-07-18 21:23:43 +01:00
libpfm libpfm4_4.3.0.bb: use compatible host to limit arches 2013-03-05 13:14:51 +00:00
linux linux-yocto/3.10: fix long perf compile times 2013-09-18 19:49:41 +01:00
linux-firmware linux-firmware: Update SRCREV, pull in iwlwifi-7260 support 2013-09-06 23:04:53 +01:00
linux-libc-headers linux-libc-headers: do_install: fix "Argument list too long" error 2013-09-17 19:34:55 +01:00
lttng lttng: Enable ptest support. 2013-09-14 08:29:42 +01:00
modutils-initscripts modutils-initscripts: improve modutils.sh 2013-01-18 13:28:07 +00:00
oprofile oprofileui-server: Add systemd support 2013-09-14 08:29:41 +01:00
perf perf: Add LDFLAGS to allow build of old kernels without patching 2013-09-18 17:54:42 +01:00
powertop powertop: upgrade to 2.4 2013-08-03 10:33:06 +01:00
sysprof remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
systemtap remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
trace-cmd remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00