OpenCloudOS-Kernel/tools/perf/config/feature-checks
Ingo Molnar e310718d0e tools/perf/build: Fix feature-libunwind-debug-frame handling
Set feature-libunwind-debug-frame. We don't want it in
CORE_FEATURE_TESTS because it's not the generic case, but we
need to set it in the !feature-libunwind case.

Also, because x86 distributions typically don't have
dwarf_find_debug_frame() unwinding method:

  test-libunwind-debug-frame.c:(.text+0x31): undefined reference to `_Ux86_64_dwarf_find_debug_frame'

Restrict this new API to ARM for the time being.

With this patch test-all.c works again, so repeat perf builds
are  fast again:

  comet:~/tip> perf stat --null --repeat 5 make -C tools/perf/
  [...]

       0,452899660 seconds time elapsed                                          ( +-  0,11% )

While with before it was:

  comet:~/tip> perf stat --null --repeat 5 make -C tools/perf/
  [...]

       1,674001829 seconds time elapsed                                          ( +-  0,16% )

[ Includes fix to config/feature-checks/Makefile from Will Deacon. ]

Tested-by: Will Deacon <will.deacon@arm.com>
Tested-by: Jean Pihet <jean.pihet@linaro.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/n/tip-scsoctqzmou3rpkixCHezy9e@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2013-11-14 18:00:45 +01:00
..
Makefile tools/perf/build: Fix feature-libunwind-debug-frame handling 2013-11-14 18:00:45 +01:00
test-all.c tools/perf/build: Fix feature-libunwind-debug-frame handling 2013-11-14 18:00:45 +01:00
test-backtrace.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-bionic.c tools/perf/build: Split out feature check: 'bionic' 2013-10-09 08:48:33 +02:00
test-cplus-demangle.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-dwarf.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-fortify-source.c tools/perf/build: Split out feature check: 'fortify-source' 2013-10-09 08:48:32 +02:00
test-glibc.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-gtk2-infobar.c tools/perf/build: Clean up various testcases 2013-10-09 08:48:58 +02:00
test-gtk2.c tools/perf/build: Clean up various testcases 2013-10-09 08:48:58 +02:00
test-hello.c
test-libaudit.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-libbfd.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-libelf-getphdrnum.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-libelf-mmap.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-libelf.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-libnuma.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-libperl.c tools/perf/build: Split out feature check: 'libperl' 2013-10-09 08:48:43 +02:00
test-libpython-version.c tools/perf/build: Split out feature check: 'libpython-version' 2013-10-09 08:48:44 +02:00
test-libpython.c tools/perf/build: Harmonize the style of the feature testcases 2013-10-09 08:49:03 +02:00
test-libslang.c tools/perf/build: Split out feature check: 'libslang' 2013-10-09 08:48:41 +02:00
test-libunwind-debug-frame.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 08:51:29 +09:00
test-libunwind.c tools/perf/build: Clean up various testcases 2013-10-09 08:48:58 +02:00
test-on-exit.c perf tools: Fix test_on_exit for 32-bit build 2013-10-21 11:19:42 -03:00
test-stackprotector-all.c tools/perf/build: Split out feature check: 'stackprotector-all' 2013-10-09 08:48:30 +02:00
test-stackprotector.c tools/perf/build: Split out feature check: 'stackprotector' 2013-10-09 08:48:31 +02:00
test-timerfd.c perf kvm: Disable live command if timerfd is not supported 2013-11-05 10:03:22 -03:00
test-volatile-register-var.c tools/perf/build: Split out feature check: 'volatile-register-var' 2013-10-09 08:48:32 +02:00