oprofile的使用方法

来源:互联网 发布:纹绣师上门软件 编辑:程序博客网 时间:2024/05/01 00:43

1. opcontrol --init
2. opcontrol --no-vmlinux
3. opcontrol --start
4. ./your_app
5. opcontrol --dump
6. opcontrol --stop
7. opreport -l ./your_app

 

在内核的编译选项了要选择oprofile, 同时要有oprofile的应用程序

原创粉丝点击