Re: [PATCH v2 3/4] perf annotate: configure objdump path at compiletime
From: Arnaldo Carvalho de Melo
Date: Mon Oct 01 2012 - 10:27:39 EST
Em Mon, Oct 01, 2012 at 09:21:54AM +0200, Ingo Molnar escreveu:
> * Namhyung Kim <namhyung@xxxxxxxxxx> 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
--
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/