Messages in this thread | | | Date | Mon, 05 Nov 2012 08:25:22 -0700 | From | David Ahern <> | Subject | Re: [PATCH RESEND 1/3] perf tools: Use normalized arch name for searching objdump path |
| |
On 11/1/12 11:50 PM, Namhyung Kim wrote: > From: Namhyung Kim <namhyung.kim@lge.com> > > David reported that perf report for i686 target data on x86_64 host > failed to work because it tried to find out cross-compiled objdump. > > However objdump for x86_64 is compatible to i686 so that it doesn't > need to do it at all. To prevent similar artifacts, normalize arch > name when comparing host and file architectures. > > Reported-by: David Ahern <dsahern@gmail.com> > Cc: David Ahern <dsahern@gmail.com> > Cc: Irina Tirdea <irina.tirdea@gmail.com> > Signed-off-by: Namhyung Kim <namhyung@kernel.org> > --- > tools/perf/arch/common.c | 40 +++++++++++++++++++++++++++++++++------- > 1 file changed, 33 insertions(+), 7 deletions(-)
Reviewed-by/Tested-by: David Ahern <dsahern@gmail.com>
| |