Messages in this thread | | | Date | Mon, 1 Oct 2012 07:27:37 -0700 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH v2 3/4] perf annotate: configure objdump path at compile time |
| |
Em Mon, Oct 01, 2012 at 09:21:54AM +0200, Ingo Molnar escreveu: > * Namhyung Kim <namhyung@kernel.org> wrote: > > What I'm thinking is that perf can try to find cross-built binutils > > when it detects perf.data file is came from other > > machine/architecture. Fortunately perf_session_env was added > > recently and it has the arch information from the file so we can use > > it to find the path.
> > Following patch is a proof-of-concept patch and only build tested. > > What do you think? Could you play with it for some time? :)
> This is a pretty clever idea - much better than hard-coding > architecture details at build time.
Indeed, great idea!
- Arnaldo
| |