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

From: Irina Tirdea
Date: Thu Sep 20 2012 - 18:13:51 EST


From: Irina Tirdea <irina.tirdea@xxxxxxxxx>

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

This is helpful since Android does not have the same folder structure as Linux
(e.g. there is no /tmp or /bin/sh). For cross-compiling, Android uses tools with
a different name than their Linux counterparts (e.g. arm-eabi-objdump,
arm-eabi-addr2line).

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/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 | 2 +-
tools/perf/util/trace-event-info.c | 2 +-
11 files changed, 56 insertions(+), 19 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/