Skip to content

perf tools: Makefile and related cleanups

Namhyung Kim lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12perf tools: Move libdw availability check before arch Makefiletools/perf/Makefile+7 -71 reply
2/12perf tools: Remove unused PYRF_OBJS variable on Makefiletools/perf/Makefile+1 -151 reply
3/12perf tools: Convert to LIBELF_SUPPORTtools/perf/Makefile tools/perf/builtin-inject.c tools/perf/perf.c +3 more+13 -141 reply
4/12perf tools: Convert to LIBUNWIND_SUPPORTtools/perf/Makefile tools/perf/builtin-record.c tools/perf/util/perf_regs.h +1 more+14 -162 replies
5/12perf tools: Convert to LIBAUDIT_SUPPORTtools/perf/Makefile tools/perf/perf.c+3 -51 reply
6/12perf tools: Convert to NEWT_SUPPORTtools/perf/Makefile tools/perf/ui/gtk/util.c tools/perf/ui/helpline.h +5 more+32 -341 reply
7/12perf tools: Convert to GTK2_SUPPORTtools/perf/Makefile tools/perf/ui/helpline.h tools/perf/util/cache.h +3 more+36 -361 reply
8/12perf tools: Convert to LIBPERL_SUPPORTtools/perf/Makefile tools/perf/builtin-script.c tools/perf/util/trace-event-scripting.c+14 -170 replies
9/12perf tools: Convert to LIBPYTHON_SUPPORTtools/perf/Makefile tools/perf/builtin-script.c tools/perf/util/trace-event-scripting.c+7 -70 replies
10/12perf tools: Convert to DEMANGLE_SUPPORTtools/perf/Makefile tools/perf/util/symbol.h+18 -130 replies
11/12perf tools: Convert to BACKTRACE_SUPPORTtools/perf/Makefile tools/perf/util/util.c+6 -65 replies
12/12perf tools: Convert to HAVE_STRLCPYtools/perf/Makefile tools/perf/util/cache.h tools/perf/util/path.c+5 -71 reply

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchJiri Olsa
1/12
2/12
3/12
4/12A-b A-b
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] perf tools: Makefile and related cleanups

Hi,

This is what I found during reading the Makefile. Main goal is using positive macro name to reduce confusing when dealing with #ifdef's.

You can get it from my tree too:

git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git perf/makefile

Any comments are welcome, thanks.
Namhyung

Namhyung Kim (12):
perf tools: Move libdw availability check before arch Makefile perf tools: Remove unused PYRF_OBJS variable on Makefile perf tools: Convert to LIBELF_SUPPORT
perf tools: Convert to LIBUNWIND_SUPPORT
perf tools: Convert to LIBAUDIT_SUPPORT
perf tools: Convert to NEWT_SUPPORT
perf tools: Convert to GTK2_SUPPORT
perf tools: Convert to LIBPERL_SUPPORT
perf tools: Convert to LIBPYTHON_SUPPORT
perf tools: Convert to DEMANGLE_SUPPORT
perf tools: Convert to BACKTRACE_SUPPORT
perf tools: Convert to HAVE_STRLCPY

 tools/perf/Makefile                     | 114 ++++++++++++--------------------
 tools/perf/builtin-inject.c             |   2 +-
 tools/perf/builtin-record.c             |  14 ++--
 tools/perf/builtin-script.c             |   4 +-
 tools/perf/perf.c                       |   4 +-
 tools/perf/ui/gtk/util.c                |   2 +-
 tools/perf/ui/helpline.h                |  18 ++---
 tools/perf/util/annotate.h              |   8 +--
 tools/perf/util/cache.h                 |  38 ++++++-----
 tools/perf/util/debug.c                 |   2 +-
 tools/perf/util/debug.h                 |  17 ++---
 tools/perf/util/generate-cmdlist.sh     |   4 +-
 tools/perf/util/hist.h                  |  27 ++++----
 tools/perf/util/map.c                   |   2 +-
 tools/perf/util/path.c                  |   2 +-
 tools/perf/util/perf_regs.h             |   4 +-
 tools/perf/util/symbol.h                |  29 ++++----
 tools/perf/util/trace-event-scripting.c |  20 +++---
 tools/perf/util/unwind.h                |   4 +-
 tools/perf/util/util.c                  |   4 +-
 20 files changed, 149 insertions(+), 170 deletions(-)
Signature · 1 line
1.7.11.4