Fix build with gcc-4.8

Suppress unused argument warning.

Change-Id: Iad6dc1e23b204f6805f37832a8d3dd026ee0755f
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Merge "Fix build with gcc-4.8"
Initial code drop of perf extraced from 3.12.0 kernel.

Clone a kernel tree and do "make perf-tar-src-pkg", and you will get a
file called "perf-3.12.0.tar" created. This checkin contains the
original set of those files and they won't compile for Android yet. A
subsequent checkin will contain the minimal set of patches needed to get
perf working of Android.

Change-Id: Ib8ff0a8cbe386c11cd7576f1589fd12082acad85
Merge "Initial code drop of perf extraced from 3.12.0 kernel."
Add generated files and Android patches.

Generated files:
  common-cmds.h
  parse-events-bison.c
  parse-events-bison.h
  parse-events-flex.c
  parse-events-flex.h
  pmu-bison.c
  pmu-bison.h
  pmu-flex.c

Patched files:
  perf.c: disable three commands - bench, kvm, and test.
  symbol.h: add Android demangle routine.

Change-Id: I7fa6160b6168ee91ab4ab7575ec18f624cefa677
Merge "Add generated files and Android patches."
Switch to perf 3.12.0

Change-Id: I950fa7bb754432c02e7a07df20248cd9cc010bb9
Merge "Switch to perf 3.12.0"
Work around broken MIPS build

We used to hardcode arm/util/dwarf-regs.c for all platforms but it
doesn't look like there is one for MIPS yet. Add a fake one for MIPS for
now and when used it will raise an error at runtime.

Also remove an extra util/config.c from the makefile.

Change-Id: I035110be302050d72a6ba0bee6bd2979cb5d0056
Merge "Work around broken MIPS build"
Include stdio.h which forward-declares perror.

Change-Id: Ic832ed5ac3635fce28163f1be144d3d3c1ca648c
Merge "Include stdio.h which forward-declares perror."
Remove dup to fix build warning.

Change-Id: I816c4591c97304e35b231eace05f4d687291506c
Switch to new elfutils (0.153)

Change-Id: I12e5a278135028cef4b9ac13e73118b1f18b43cd
Merge "Switch to new elfutils (0.153)"
am c113bc9d: Merge "Work around broken MIPS build"

* commit 'c113bc9d9f43b2ab4e64c9052efdd4e7a84cc78e':
  Work around broken MIPS build
am ef0d92fe: Merge "Include stdio.h which forward-declares perror."

* commit 'ef0d92fed77d5e49e68e58676250e1b49db26fa8':
  Include stdio.h which forward-declares perror.
am 7480fa0e: Merge "Switch to new elfutils (0.153)"

* commit '7480fa0ee058c223e3da79473d048247b2aa8533':
  Switch to new elfutils (0.153)
[PATCH] perf tool: fix bug in usage of the basename() function

The basename() implementation varies a lot between systems.
The Linux man page says: "basename may modify the content of the path,
so it may be desirable to pass a copy when calling the function".

The dso__set_basename() function was not doing this causing problems
on some systems with wrong library names being shown by perf report.

This patch fixes the problem.

Change-Id: I1501adff2c092f7863f8673892bea93f2cb74563
Reported-by: Ben Cheng <bccheng@google.com>
Signed-off-by: Stephane Eranian <eranian@google.com>
Merge "[PATCH] perf tool: fix bug in usage of the basename() function"