The new libbfd.a is compiled with plugin enabled. The plugin.o in it need dlopen, dlsym, etc Change-Id: I63912ddc151fe3f6a34274e6200db6e7a16c910d
As long as all arguments to opreport are still pass-through there is no need to add explcit getopt cases. Change-Id: Iac2d3ec2805f5207a089f623e9559c01abe7c7c0
Also s/objdump/arm-eabi-objdump in opannotate.cpp. Change-Id: I51b35da926a9ad189c6758c3f10084a4b9766524
Bonus changes: - Eliminated sending unnecessary SIGHUP to oprofiled when dumping samples. - fixed a file descriptor leak in read_num(). Change-Id: I79ca35a62df848ceb4e16f2bc62e54b86ab7495f
The typo (in specifying the --kernel-range argument) completely breaks kernel profiling because the kernel end address will always be 0 and < the start address. All kernel samples will therefore be discarded. I've also added very basic support for turning on kernel profiling via this script. Change-Id: I64b4063cb994ca94a51ed5aa0159aa4ae1627969
Now taking into account differences in the library dependencies of libintl on darwin vs. linux. On darwin, we need to link with libiconv which is provided as a shared library on the platform. On linux, iconv is included in libc so we don't need anything special. Change-Id: Ide89061cce0352c83b7401d9f5d594e9625b1868
This reverts commit 245b758.
Added a new wrapper script that will help automate more of the process of setting up and running oprofile on a remote device. There is more work to be done here once the kernel perf event issues that hinder reliability (bug: 2975913) are resolved. Change-Id: I942ee74912f1e4c87b4c43aca9937b3f3f1780f6