[PATCH v2 0/4] perf: android: configure hardcoded paths

From: Irina Tirdea
Date: Sun Sep 23 2012 - 15:27:41 EST


From: Irina Tirdea <irina.tirdea@xxxxxxxxx>

This is version 2 of the set of patches that replace hardcoded paths used
in perf with configurable options in the Makefile.

First version can be found at https://lkml.org/lkml/2012/9/20/537.

Thanks everybody for the reviews! This version fixes all issues mentioned in
reviews.

Changes for v2:
() updated tools/perf/Documentation/jit-interface.txt regarding PERF_TMP_DIR
(patch 1)
() fixed hardcoded size for PERF_TMP_DIR"/perf-" (patch 1)
() use PERF_SHELL_PATH instead of PERF_SHELL_DIR (patch 2)
() use DEFAULT_OBJDUMP_PATH and DEFAULT_ADDR2LINE_PATH (patch 3,4)
() add CROSS_COMPILE prefix to addr2line and objdump in Makefile (patch 3,4)

Thanks,
Irina

Irina Tirdea (4):
perf tools: configure tmp path at build time
perf tools: configure shell path at compile time
perf annotate: configure objdump path at compile time
perf tools: configure addr2line path at compile time

tools/perf/Documentation/jit-interface.txt | 4 +++-
tools/perf/Makefile | 30 ++++++++++++++++++++++++++--
tools/perf/builtin-help.c | 2 +-
tools/perf/builtin-script.c | 12 +++++------
tools/perf/perf-archive.sh | 13 ++++++++++--
tools/perf/util/annotate.c | 5 +++--
tools/perf/util/dso-test-data.c | 2 +-
tools/perf/util/map.c | 3 ++-
tools/perf/util/pmu.c | 2 +-
tools/perf/util/sort.c | 2 +-
tools/perf/util/symbol.c | 4 +++-
tools/perf/util/trace-event-info.c | 2 +-
12 files changed, 61 insertions(+), 20 deletions(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/