栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

性能启用拆解调用图

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

性能启用拆解调用图

我在Ubuntu
15.10上遇到了相同的问题,并且在这里找到了解决方案:https
:
//bugs.launchpad.net/ubuntu/+source/linux/+bug/1396654


更新:也适用于Ubuntu 18.10

步骤如下:

sudo apt-get install libiberty-dev binutils-devmkdir ~/installcd ~/install# If the following apt-get doesn't work on your system,# uncomment deb-src lines in your /etc/apt/sources.list,# as suggested by @ctitze# or you can download it manually from packages.ubuntu.com# as @aleixrocks suggested in the comment belowapt-get source linux-tools-`uname -r`sudo apt-get build-dep linux-tools-`uname -r`cd linux-`uname -r | sed 's/-.*//'`/tools/perfmake# now you should see the new "perf" executable here./perf

还应该有一些方法来创建一个新的linux-tools-common软件包,以将其真正集成到您的系统中。现在,用您的新性能替代正式性能,只需设置PATH:

export PATH=~/install/linux-`uname -r | sed 's/-.*//'`/tools/perf:$PATH


转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/385917.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号