oProfile - yszheda/wiki GitHub Wiki
http://oprofile.sourceforge.net
Install
- ubuntu 安装OProfile
- https://unix.stackexchange.com/questions/160517/configuration-error-iberty-library-not-found
- [可用] 交叉编译OProfile到Android步骤
- 移植OProfile到Android
- Linux 在海思3516上移植Oprofile
- Android 5.1 上运行Oprofile 虚拟机与nexus
- Android性能测试工具--Oprofile
./configure --with-kernel-support --target=arm-linux-androideabi --host=arm-linux-androideabi --with-kernel=/opt/android-hikey-linaro-4.4-headers/ CFLAGS="-I/opt/popt/include -I/opt/binutils/include -fPIC -v" CXXFLAGS="-fPIC -I/opt/popt/include -I/opt/binutils/include -lstdc++ -v" SYSROOT="/opt/android-toolchain/sysroot/" LDFLAGS="-L/opt/popt/lib -L/opt/binutils/lib -static -lm -lstdc++" APP_STL=c++_static
popt
./configure --with-kernel-support --target=arm-linux-android --host=arm-linux-android --enable-install-libfd --prefix=/opt/pop
androideabi
C compiler cannot create executables
ld: error: cannot open crtbegin_dynamic.o
- Android imx6平台 iw移植笔记
- https://github.com/tensorflow/tensorflow/issues/9016
- Android下libdvbpsi的使用
- HOWTO Cross compiling on Android
liberty library not found
- [patch]: native binutils build on arm
- https://dev.openwrt.org/browser/trunk/toolchain/binutils/patches/2.20/112-arm-uclibc-gas-needs-libm.patch?rev=20594
- https://github.com/openembedded/openembedded/blob/master/recipes/binutils/binutils-2.19.51/binutils-uclibc-gas-needs-libm.patch
- https://sourceware.org/bugzilla/show_bug.cgi?id=6768
error: libz library not found; required by libbfd
Cross compile zlib and install
error: Unable to find clock_gettime function; required by ocount
// TODO
iostream: No such file or directory
APP_STL:=stlport_static
- https://stackoverflow.com/questions/9130429/android-ndk-build-iostream-no-such-file-or-directory
- https://stackoverflow.com/questions/22604519/iostream-no-such-file-or-directory-in-android-ndk-environment
error: 'AT_BASE_PLATFORM' undeclared (first use in this function)
- http://bylnote.blogspot.sg/2014/04/cross-compile-oprofile-for-arm-linux.html
- https://sourceforge.net/p/oprofile/bugs/245/
iostream: No such file or directory
APP_STL := stlport_static
APP_STL=c++_static
APP_STL := gnustl_static
- https://developer.android.com/ndk/guides/cpp-support.html?hl=zh-cn
- https://developer.android.com/ndk/guides/standalone_toolchain.html?hl=zh-cn
- https://stackoverflow.com/questions/4893403/cant-include-c-headers-like-vector-in-android-ndk
- 在Android JNI环境下使用C++的几个问题与解决
References
./configure --with-kernel-support --target=arm-linux-androideabi --host=arm-linux-androideabi --with-kernel=/opt/android-hikey-linaro-4.4-headers/ CFLAGS="-I/opt/popt/include" CXXFLAGS="-I/opt/popt/include" LDFLAGS="-L/opt/popt/lib -static -lm"