perf tools: Add more toolchain triplets
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Fri, 24 Jun 2016 11:54:00 +0000 (17:24 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 Jun 2016 17:31:41 +0000 (14:31 -0300)
commit78f69b5865dbb7cc87fe18fb98212e23b10b5cbd
tree8d4a8cfeb23d207ce76b57653322a428a0e9b1f6
parent6ef9492915b09816c75bb41e7e37b2e507d2f70f
perf tools: Add more toolchain triplets

Add few more triplets based on Fedora and Ubuntu binutils (cross tools).

Before applying patch on x86:

  ( Install binutils-powerpc64-linux-gnu.x86_64 )
  $ perf report -i perf.data.powerpc --vmlinux vmlinux.powerpc \
      --objdump powerpc64-linux-gnu-objdump

After applying patch on x86:

  $ perf report -i perf.data.powerpc --vmlinux vmlinux.powerpc

I.e. it will find the right objdump from the environment data recorded
in the perf.data file + these triplets.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anton Blanchard <anton@ozlabs.org>
Cc: Daniel Axtens <dja@axtens.net>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: http://lkml.kernel.org/r/1466769240-12376-7-git-send-email-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/common.c