Integrate patch to add MIPS support to perf tools

Taken from
https://www.linux-mips.org/archives/linux-mips/2016-04/msg00004.html

Minor tweaks were applied to match our current kernel version.

Change-Id: Iebf3355f4763ac9d664fe316ebf356ec9ab89dbe
11 files changed