摘要: ubuntu上要编译安装oprofile。现在版本(0.9.9)的oprofile的编译需要binutil-dev libpopt-devapt-get install binutil-dev libpopt-dev然后./configure make make install安装完以后1.执行opcontrol --init启动加载oprofile模块2.opcontrol --no-vmlinux3.(可选)opcontrol --event=L2_CACHE_MISS:500 查看cache miss率,增加监听事件4.opcontrol --start 启动op5.运行待检测程序(必须 阅读全文