1. binutils源码路径
binutils源码下载:https://github.com/bminor/binutils-gdb
可以交叉编译gprof,以便在多种嵌入式设备上进行C代码的性能分析;
2. 编译方法
CC=aarch64-himix100-linux-gcc ./configure -host=aarch64-himix100-linux -prefix=/home/opt/cross-gprof
make -j 8
make install
清空配置
make distclean