tools/perf: Speed up the build system
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest52 patches 31 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/52 | tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORTtools/ tools/ tools/ +27 more | +86 | 0 replies | |
| 2/52 | tools/perf/build: Add feature check core codetools/ tools/ tools/ | +38 | 3 replies | |
| 3/52 | tools/perf/build: Add 'autodep' functionality, generate feature test dependencies automaticallytools/ | +6 | 3 replies | |
| 4/52 | tools/perf/build: Split out feature check: 'libnuma'tools/ tools/ tools/ | +18 | 0 replies | |
| 5/52 | tools/perf/build: Split out feature check: 'stackprotector-all'tools/ tools/ tools/ | +12 | 0 replies | |
| 6/52 | tools/perf/build: Split out feature check: 'stackprotector'tools/ tools/ tools/ | +12 | 3 replies | |
| 7/52 | tools/perf/build: Split out feature check: 'volatile-register-var'tools/ tools/ tools/ | +12 | 3 replies | |
| 8/52 | tools/perf/build: Split out feature check: 'fortify-source'tools/ tools/ tools/ | +12 | 0 replies | |
| 9/52 | tools/perf/build: Split out feature check: 'bionic'tools/ tools/ tools/ | +17 | 0 replies | |
| 10/52 | tools/perf/build: Clean up the libelf logic in config/Makefiletools/ | +29 | 0 replies | |
| 11/52 | tools/perf/build: Split out feature check: 'libelf'tools/ tools/ tools/ | +13 | 0 replies | |
| 12/52 | tools/perf/build: Split out feature check: 'glibc'tools/ tools/ tools/ | +14 | 0 replies | |
| 13/52 | tools/perf/build: Split out feature check: 'dwarf'tools/ tools/ tools/ | +15 | 0 replies | |
| 14/52 | tools/perf/build: Clean up the mmap logic in config/Makefiletools/ | +26 | 0 replies | |
| 15/52 | tools/perf/build: Split out feature check: 'libelf-mmap'tools/ tools/ tools/ | +14 | 3 replies | |
| 16/52 | tools/perf/build: Split out feature check: 'libelf-getphdrnum'tools/ tools/ tools/ | +14 | 0 replies | |
| 17/52 | tools/perf/build: Clean up the libunwind logic in config/Makefiletools/ | +12 | 0 replies | |
| 18/52 | tools/perf/build: Split out feature check: 'libunwind'tools/ tools/ tools/ | +27 | 2 replies | |
| 19/52 | tools/perf/build: Split out feature check: 'libaudit'tools/ tools/ tools/ | +13 | 0 replies | |
| 20/52 | tools/perf/build: Split out feature check: 'libslang'tools/ tools/ tools/ | +12 | 0 replies | |
| 21/52 | tools/perf/build: Split out feature check: 'gtk2'tools/ tools/ tools/ | +16 | 0 replies | |
| 22/52 | tools/perf/build: Split out feature check: 'gtk2-infobar'tools/ tools/ tools/ | +16 | 0 replies | |
| 23/52 | tools/perf/build: Split out feature check: 'libperl'tools/ tools/ tools/ | +24 | 0 replies | |
| 24/52 | tools/perf/build: Split out feature check: 'libpython'tools/ tools/ tools/ | +27 | 0 replies | |
| 25/52 | tools/perf/build: Split out feature check: 'libpython-version'tools/ tools/ tools/ | +16 | 0 replies | |
| 26/52 | tools/perf/build: Split out feature check: 'libbfd'tools/ tools/ tools/ | +13 | 3 replies | |
| 27/52 | tools/perf/build: Split out feature check: 'strlcpy'tools/ tools/ tools/ | +14 | 0 replies | |
| 28/52 | tools/perf/build: Split out feature check: 'on-exit'tools/ tools/ tools/ | +12 | 2 replies | |
| 29/52 | tools/perf/build: Split out feature check: 'backtrace'tools/ tools/ tools/ | +16 | 0 replies | |
| 30/52 | tools/perf: Clean up util/include/linux/compiler.htools/ | +10 | 0 replies | |
| 31/52 | tools/perf: Turn strlcpy() into a __weak functiontools/ tools/ tools/ +3 more | +12 | 0 replies | |
| 32/52 | tools/perf/build: Speed up auto-detection of features by adding a 'test-all' targettools/ tools/ tools/ | +238 | 5 replies | |
| 33/52 | tools/perf/build: Speed up git-version test on re-maketools/ | +13 | 0 replies | |
| 34/52 | tools/perf/build: Speed up the final linktools/ | +7 | 0 replies | |
| 35/52 | tools/perf: Fix double/triple-build of the feature detection logic during 'make install' et altools/ | +4 | 0 replies | |
| 36/52 | tools/perf/build: Invoke feature-checks 'clean' target from the main Makefiletools/ | +9 | 0 replies | |
| 37/52 | tools/perf/build: Speed up auto-detectiontools/ tools/ | +45 | 0 replies | |
| 38/52 | tools/perf/build: Improve printout-of auto-detected featurestools/ | +33 | 0 replies | |
| 39/52 | tools/perf/build: Automatically build in parallel, based on number of CPUs in the systemtools/ | +26 | 2 replies | |
| 40/52 | tools/perf/build: Flip Makefile.parallel and Makefile.perftools/ tools/ tools/ | +856 | 0 replies | |
| 41/52 | tools/perf/build: Standardize the various messages output by parallel maketools/ tools/ | +22 | 0 replies | |
| 42/52 | tools/perf/build: Split out feature checks: 'liberty', 'liberty-z', 'cplus-demangle'tools/ tools/ tools/ | +28 | 0 replies | |
| 43/52 | tools/perf/build: Remove unused config/feature-tests.maktools/ tools/ tools/ | +1 | 0 replies | |
| 44/52 | tools/perf/build: Clean up various testcasestools/ tools/ tools/ +5 more | +46 | 2 replies | |
| 45/52 | tools/perf/build: Collapse the test-all.c testcasetools/ | +100 | 0 replies | |
| 46/52 | tools/perf/build: Pass through all targets to Makefile.perftools/ | +7 | 0 replies | |
| 47/52 | tools/perf/build: Make sure autodep feature binaries honor the O= settingtools/ | +8 | 0 replies | |
| 48/52 | tools/perf/build: Exclude MAKEFLAGS from nested invocationtools/ | +13 | 2 replies | |
| 49/52 | tools/perf/build: Fix non-canonical directory names in O=tools/ | +8 | 0 replies | |
| 50/52 | tools/perf/build: Fix O=/some/dir perf.o type of targetstools/ | +15 | 3 replies | |
| 51/52 | tools/perf/build: Harmonize the style of the feature testcasestools/ tools/ tools/ +9 more | +11 | 0 replies | |
| 52/52 | tools/perf/build: Pass through LDFLAGS to feature teststools/ tools/ | +3 | 0 replies |
Reviews trailers per patch
None of the 52 patches has a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/52 | |
| 2/52 | |
| 3/52 | |
| 4/52 | |
| 5/52 | |
| 6/52 | |
| 7/52 | |
| 8/52 | |
| 9/52 | |
| 10/52 | |
| 11/52 | |
| 12/52 | |
| 13/52 | |
| 14/52 | |
| 15/52 | |
| 16/52 | |
| 17/52 | |
| 18/52 | |
| 19/52 | |
| 20/52 | |
| 21/52 | |
| 22/52 | |
| 23/52 | |
| 24/52 | |
| 25/52 | |
| 26/52 | |
| 27/52 | |
| 28/52 | |
| 29/52 | |
| 30/52 | |
| 31/52 | |
| 32/52 | |
| 33/52 | |
| 34/52 | |
| 35/52 | |
| 36/52 | |
| 37/52 | |
| 38/52 | |
| 39/52 | |
| 40/52 | |
| 41/52 | |
| 42/52 | |
| 43/52 | |
| 44/52 | |
| 45/52 | |
| 46/52 | |
| 47/52 | |
| 48/52 | |
| 49/52 | |
| 50/52 | |
| 51/52 | |
| 52/52 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v2 00/52] tools/perf: Speed up the build system
About the purpose of this series, see the previous announcement at:
https://lkml.org/lkml/2013/10/7/199
This -v2 series addresses the review feedback from David Ahern and Jiri Olsa (thanks guys!).
If everything is fine with this series then I'll ask Arnaldo to pull the changes.
The changes can also be fetched from this tree:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.perf
(HEAD: c31cfd5dc9c3)
Thanks,
Ingo
================>
Ingo Molnar (52):
tools/perf: Standardize feature support define names to:
HAVE_{FEATURE}_SUPPORT
tools/perf/build: Add feature check core code tools/perf/build: Add 'autodep' functionality, generate feature test
dependencies automatically
tools/perf/build: Split out feature check: 'libnuma' tools/perf/build: Split out feature check: 'stackprotector-all' tools/perf/build: Split out feature check: 'stackprotector' tools/perf/build: Split out feature check: 'volatile-register-var' tools/perf/build: Split out feature check: 'fortify-source' tools/perf/build: Split out feature check: 'bionic' tools/perf/build: Clean up the libelf logic in config/Makefile tools/perf/build: Split out feature check: 'libelf' tools/perf/build: Split out feature check: 'glibc' tools/perf/build: Split out feature check: 'dwarf' tools/perf/build: Clean up the mmap logic in config/Makefile tools/perf/build: Split out feature check: 'libelf-mmap' tools/perf/build: Split out feature check: 'libelf-getphdrnum' tools/perf/build: Clean up the libunwind logic in config/Makefile tools/perf/build: Split out feature check: 'libunwind' tools/perf/build: Split out feature check: 'libaudit' tools/perf/build: Split out feature check: 'libslang' tools/perf/build: Split out feature check: 'gtk2' tools/perf/build: Split out feature check: 'gtk2-infobar' tools/perf/build: Split out feature check: 'libperl' tools/perf/build: Split out feature check: 'libpython' tools/perf/build: Split out feature check: 'libpython-version' tools/perf/build: Split out feature check: 'libbfd' tools/perf/build: Split out feature check: 'strlcpy' tools/perf/build: Split out feature check: 'on-exit' tools/perf/build: Split out feature check: 'backtrace' tools/perf: Clean up util/include/linux/compiler.h tools/perf: Turn strlcpy() into a __weak function tools/perf/build: Speed up auto-detection of features by adding a
'test-all' target
tools/perf/build: Speed up git-version test on re-make tools/perf/build: Speed up the final link
tools/perf: Fix double/triple-build of the feature detection logic
during 'make install' et al
tools/perf/build: Invoke feature-checks 'clean' target from the main
Makefile
tools/perf/build: Speed up auto-detection tools/perf/build: Improve printout-of auto-detected features tools/perf/build: Automatically build in parallel, based on number of
CPUs in the system
tools/perf/build: Flip Makefile.parallel and Makefile.perf tools/perf/build: Standardize the various messages output by parallel
make
tools/perf/build: Split out feature checks: 'liberty', 'liberty-z',
'cplus-demangle'
tools/perf/build: Remove unused config/feature-tests.mak tools/perf/build: Clean up various testcases tools/perf/build: Collapse the test-all.c testcase tools/perf/build: Pass through all targets to Makefile.perf tools/perf/build: Make sure autodep feature binaries honor the O=
setting
tools/perf/build: Exclude MAKEFLAGS from nested invocation tools/perf/build: Fix non-canonical directory names in O= tools/perf/build: Fix O=/some/dir perf.o type of targets tools/perf/build: Harmonize the style of the feature testcases tools/perf/build: Pass through LDFLAGS to feature tests
tools/perf/Documentation/Makefile | 17 +- tools/perf/Makefile | 841 ++--------------------------- tools/perf/Makefile.perf | 856 ++++++++++++++++++++++++++++++ tools/perf/arch/x86/include/perf_regs.h | 6 +- tools/perf/arch/x86/util/unwind.c | 4 +- tools/perf/bench/mem-memcpy-arch.h | 2 +- tools/perf/bench/mem-memcpy.c | 2 +- tools/perf/bench/mem-memset-arch.h | 2 +- tools/perf/bench/mem-memset.c | 2 +- tools/perf/builtin-bench.c | 4 +- tools/perf/builtin-inject.c | 2 +- tools/perf/builtin-probe.c | 14 +- tools/perf/builtin-record.c | 12 +- tools/perf/config/Makefile | 327 +++++++----- tools/perf/config/feature-checks/Makefile | 148 ++++++ tools/perf/config/feature-checks/test-all.c | 106 ++++ tools/perf/config/feature-checks/test-backtrace.c | 13 + tools/perf/config/feature-checks/test-bionic.c | 6 + tools/perf/config/feature-checks/test-cplus-demangle.c | 14 + tools/perf/config/feature-checks/test-dwarf.c | 10 + tools/perf/config/feature-checks/test-fortify-source.c | 6 + tools/perf/config/feature-checks/test-glibc.c | 8 + tools/perf/config/feature-checks/test-gtk2-infobar.c | 11 + tools/perf/config/feature-checks/test-gtk2.c | 10 + tools/perf/config/feature-checks/test-hello.c | 6 + tools/perf/config/feature-checks/test-libaudit.c | 10 + tools/perf/config/feature-checks/test-libbfd.c | 15 + tools/perf/config/feature-checks/test-libelf-getphdrnum.c | 8 + tools/perf/config/feature-checks/test-libelf-mmap.c | 8 + tools/perf/config/feature-checks/test-libelf.c | 8 + tools/perf/config/feature-checks/test-libnuma.c | 9 + tools/perf/config/feature-checks/test-libperl.c | 9 + tools/perf/config/feature-checks/test-libpython-version.c | 10 + tools/perf/config/feature-checks/test-libpython.c | 8 + tools/perf/config/feature-checks/test-libslang.c | 6 + tools/perf/config/feature-checks/test-libunwind.c | 27 + tools/perf/config/feature-checks/test-on-exit.c | 15 + tools/perf/config/feature-checks/test-stackprotector-all.c | 6 + tools/perf/config/feature-checks/test-stackprotector.c | 6 + tools/perf/config/feature-checks/test-volatile-register-var.c | 6 + tools/perf/config/feature-tests.mak | 246 --------- tools/perf/config/utilities.mak | 14 - tools/perf/perf.c | 4 +- tools/perf/ui/gtk/browser.c | 2 +- tools/perf/ui/gtk/gtk.h | 4 +- tools/perf/ui/gtk/util.c | 4 +- tools/perf/ui/ui.h | 4 +- tools/perf/util/annotate.h | 4 +- tools/perf/util/cache.h | 3 +- tools/perf/util/generate-cmdlist.sh | 4 +- tools/perf/util/hist.h | 4 +- tools/perf/util/include/dwarf-regs.h | 2 +- tools/perf/util/include/linux/compiler.h | 19 +- tools/perf/util/map.c | 2 +- tools/perf/util/path.c | 10 +- tools/perf/util/perf_regs.h | 4 +- tools/perf/util/probe-event.c | 4 +- tools/perf/util/probe-finder.h | 4 +- tools/perf/util/symbol-elf.c | 2 +- tools/perf/util/symbol.h | 8 +- tools/perf/util/unwind.h | 4 +- tools/perf/util/util.c | 4 +- 62 files changed, 1678 insertions(+), 1258 deletions(-) create mode 100644 tools/perf/Makefile.perf create mode 100644 tools/perf/config/feature-checks/Makefile create mode 100644 tools/perf/config/feature-checks/test-all.c create mode 100644 tools/perf/config/feature-checks/test-backtrace.c create mode 100644 tools/perf/config/feature-checks/test-bionic.c create mode 100644 tools/perf/config/feature-checks/test-cplus-demangle.c create mode 100644 tools/perf/config/feature-checks/test-dwarf.c create mode 100644 tools/perf/config/feature-checks/test-fortify-source.c create mode 100644 tools/perf/config/feature-checks/test-glibc.c create mode 100644 tools/perf/config/feature-checks/test-gtk2-infobar.c create mode 100644 tools/perf/config/feature-checks/test-gtk2.c create mode 100644 tools/perf/config/feature-checks/test-hello.c create mode 100644 tools/perf/config/feature-checks/test-libaudit.c create mode 100644 tools/perf/config/feature-checks/test-libbfd.c create mode 100644 tools/perf/config/feature-checks/test-libelf-getphdrnum.c create mode 100644 tools/perf/config/feature-checks/test-libelf-mmap.c create mode 100644 tools/perf/config/feature-checks/test-libelf.c create mode 100644 tools/perf/config/feature-checks/test-libnuma.c create mode 100644 tools/perf/config/feature-checks/test-libperl.c create mode 100644 tools/perf/config/feature-checks/test-libpython-version.c create mode 100644 tools/perf/config/feature-checks/test-libpython.c create mode 100644 tools/perf/config/feature-checks/test-libslang.c create mode 100644 tools/perf/config/feature-checks/test-libunwind.c create mode 100644 tools/perf/config/feature-checks/test-on-exit.c create mode 100644 tools/perf/config/feature-checks/test-stackprotector-all.c create mode 100644 tools/perf/config/feature-checks/test-stackprotector.c create mode 100644 tools/perf/config/feature-checks/test-volatile-register-var.c delete mode 100644 tools/perf/config/feature-tests.mak
Signature · 1 line
1.8.3.1