Add -ldl for opannotate, oparchive, etc, in pp/Android.mk

The new libbfd.a is compiled with plugin enabled.  The plugin.o in
it need dlopen, dlsym, etc

Change-Id: I63912ddc151fe3f6a34274e6200db6e7a16c910d
Merge "Add -ldl for opannotate, oparchive, etc, in pp/Android.mk"
Fix various problems in opcontrol

Support multiple CPU types in opcontrol
Use access(2) instead of opening files where possible
Mount /dev/oprofile at startup
Disable oprofiled when resetting current data session

Change-Id: Ifd0ff2a50c9229af01249aefd5cd9dce00c58bf4
Add oprofile host tool support for mips.

Provides general build support, and fixes one arm-specific change
in opannotate.

Change-Id: Ib4f8145719fb6b2a1e292b72c2bed044497c55c2
Merge "Fix various problems in opcontrol"
Merge "Add oprofile host tool support for mips."
Merge tag 'android-4.3_r2.1' into cm-10.2

Android 4.3 release 2.1
oprofile: Don't set HAVE_LIBBFD when not using the prebuilt toolchain

The oprofile Makefiles complain about not finding exported libbfd
includes when using a different toolchain.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
oprofile: Fix build in ISO C++11 mode

Fixes macro constructs that can be confused with the new
string literals

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_external_oprofile into jb-mv

Conflicts:
	common.mk
	opcontrol/opcontrol.cpp

Change-Id: I77c67b94d7655806b7324d0115fdae931c8f74e1
Merge branch 'linaro_android_4.3' of git://android.git.linaro.org/platform/external/oprofile into jb-mv