Skip to content

perf tools: Makefile changes

Jiri Olsa lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest25 patches 0 repliesNew
  2. v226 patches 7 repliesSuperseded
  3. v1 RFC27 patches 18 repliesSuperseded

Changes in v3 from the cover letter

- tests/make changes suggested by Nmahyung
- typo fixes suggested by David
- patch 2 already merged

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25perf tools: Add automated make test suitetools/perf/tests/make+138 -00 replies
2/25perf tools: Move arch check into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+47 -280 replies
3/25perf tools: Move programs check into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+18 -160 replies
4/25perf tools: Move compiler and linker flags check into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+85 -910 replies
5/25perf tools: Move libelf check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+47 -460 replies
6/25perf tools: Move libdw check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+15 -70 replies
7/25perf tools: Move libunwind check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+27 -240 replies
8/25perf tools: Move libaudit check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+12 -80 replies
9/25perf tools: Move slang check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+30 -260 replies
10/25perf tools: Move gtk2 check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+22 -180 replies
11/25perf tools: Move libperl check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+24 -170 replies
12/25perf tools: Move libpython check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+66 -650 replies
13/25perf tools: Move libbfd check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+37 -370 replies
14/25perf tools: Move stdlib check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+18 -180 replies
15/25perf tools: Move libnuma check config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+12 -80 replies
16/25perf tools: Move paths config into config/Makefiletools/perf/Makefile tools/perf/config/Makefile+52 -580 replies
17/25perf tools: Final touches for CHK config movetools/perf/Makefile+0 -110 replies
18/25perf tools: Merge all *CFLAGS* make variable into CFLAGStools/perf/Makefile tools/perf/config/Makefile tools/perf/util/setup.py+88 -830 replies
19/25perf tools: Merge all *LDFLAGS* make variable into LDFLAGStools/perf/Makefile tools/perf/config/Makefile+25 -220 replies
20/25perf tools: Switch to full path C include directoriestools/perf/Makefile tools/perf/config/Makefile+39 -140 replies
21/25perf tools: Add NO_BIONIC variable to confiure bionic setuptools/perf/Makefile tools/perf/config/Makefile+6 -00 replies
22/25perf tools: Replace tabs with spaces for all non-commands statementstools/perf/Makefile tools/perf/config/Makefile+238 -2380 replies
23/25perf tools: Replace multiple line assignment with multiple statementstools/perf/config/Makefile+19 -240 replies
24/25perf tools: Remove '?=' Makefile STRIP assignmenttools/perf/Makefile+1 -10 replies
25/25perf tools: Add missing liblk.a dependency for python/perf.sotools/perf/Makefile+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCHv3 00/25] perf tools: Makefile changes

hi,
this patchset mostly consists of moving the config 'CHK' stuff into config/Makefile which will be also used for kbuild afterwards.

I'm sending now just the Makefile changes separated from the kbuild stuff, which will come later.

The original RFC is here:
http://marc.info/?l=linux-kernel&m=136484403415600&w=2

The v2 is in here:
http://marc.info/?l=linux-kernel&m=136679633709975&w=2

The patchset is tested via automated make test by running:

  $ make -f tests/make 

v3 changes:
- tests/make changes suggested by Nmahyung
- typo fixes suggested by David
- patch 2 already merged

v2 changes:
- adding make clean all support (and test)
- de-CAPSizing the test/make test
- several line breaking changes, ommiting usage of '\'
- '?=' operator removal for STRIP
- tabs to spaces conversion for Makefile non-commands lines

Changes could be reached in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/core_make

thanks for comments,
jirka

Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Corey Ashford <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Sam Ravnborg <[email protected]>
Cc David Ahern <[email protected]>

---
Jiri Olsa (25):
perf tools: Add automated make test suite
perf tools: Move arch check into config/Makefile
perf tools: Move programs check into config/Makefile
perf tools: Move compiler and linker flags check into config/Makefile perf tools: Move libelf check config into config/Makefile perf tools: Move libdw check config into config/Makefile perf tools: Move libunwind check config into config/Makefile perf tools: Move libaudit check config into config/Makefile perf tools: Move slang check config into config/Makefile perf tools: Move gtk2 check config into config/Makefile perf tools: Move libperl check config into config/Makefile perf tools: Move libpython check config into config/Makefile perf tools: Move libbfd check config into config/Makefile perf tools: Move stdlib check config into config/Makefile perf tools: Move libnuma check config into config/Makefile perf tools: Move paths config into config/Makefile
perf tools: Final touches for CHK config move
perf tools: Merge all *CFLAGS* make variable into CFLAGS perf tools: Merge all *LDFLAGS* make variable into LDFLAGS perf tools: Switch to full path C include directories perf tools: Add NO_BIONIC variable to confiure bionic setup perf tools: Replace tabs with spaces for all non-commands statements perf tools: Replace multiple line assignment with multiple statements perf tools: Remove '?=' Makefile STRIP assignment
perf tools: Add missing liblk.a dependency for python/perf.so

 tools/perf/Makefile        | 630 ++++++++++++++++++--------------------------------------------------------------------------------------
 tools/perf/config/Makefile | 477 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/tests/make      | 138 +++++++++++++++++++++++
 tools/perf/util/setup.py   |   5 +-
 4 files changed, 728 insertions(+), 522 deletions(-)
 create mode 100644 tools/perf/config/Makefile
 create mode 100644 tools/perf/tests/make