Re: [PATCH 1/4] perf tools: configure tmp path at build time

2012-09-21 Thread David Ahern
On 9/21/12 1:47 AM, Pekka Enberg wrote: diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index e2e8c69..eb671d5 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -1051,7 +1051,7 @@ int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter)

Re: [PATCH 1/4] perf tools: configure tmp path at build time

2012-09-21 Thread Pekka Enberg
Hi Irina, On Fri, Sep 21, 2012 at 1:13 AM, Irina Tirdea wrote: > diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c > index b442ee4..c5b4632 100644 > --- a/tools/perf/util/map.c > +++ b/tools/perf/util/map.c > @@ -59,7 +59,8 @@ struct map *map__new(struct list_head *dsos__list, u64 >

Re: [PATCH 1/4] perf tools: configure tmp path at build time

2012-09-21 Thread Pekka Enberg
Hi Irina, On Fri, Sep 21, 2012 at 1:13 AM, Irina Tirdea irina.tir...@gmail.com wrote: diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index b442ee4..c5b4632 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c @@ -59,7 +59,8 @@ struct map *map__new(struct list_head

Re: [PATCH 1/4] perf tools: configure tmp path at build time

2012-09-21 Thread David Ahern
On 9/21/12 1:47 AM, Pekka Enberg wrote: diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index e2e8c69..eb671d5 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -1051,7 +1051,7 @@ int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter)

[PATCH 1/4] perf tools: configure tmp path at build time

2012-09-20 Thread Irina Tirdea
From: Irina Tirdea Temporary perf files are hardcoded to point to /tmp. Android does not have a /tmp directory so it needs to set this path at compile time. Add a compile-time definition (PERF_TMP_DIR) in the Makefile that sets the path to temp directory. By default it points to /tmp.

[PATCH 1/4] perf tools: configure tmp path at build time

2012-09-20 Thread Irina Tirdea
From: Irina Tirdea irina.tir...@intel.com Temporary perf files are hardcoded to point to /tmp. Android does not have a /tmp directory so it needs to set this path at compile time. Add a compile-time definition (PERF_TMP_DIR) in the Makefile that sets the path to temp directory. By default it