ubuntu17.04 调试系统工具bcc,systamtap安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu17.04 调试系统工具bcc,systamtap安装相关的知识,希望对你有一定的参考价值。
发行版 ubuntu17.04
cat lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"
查看自带的LINUX内核版本
uname -a
Linux server1 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Lin
内核符号下载:
http://ddebs.ubuntu.com/pool/main/l/linux/linux-image-4.10.0-19-generic-dbgsym_4.10.0-19.21_amd64.ddeb
sudo dpkg -i linux-image-4.10.0-19-generic-dbgsym_4.10.0-19.21_amd64.ddeb
systemtap安装:
sudo apt-get install systemtap
sudo apt-get install systemtap-sdt-dev
bcc 安装:
sudo apt-get -y install bison build-essential cmake flex git libedit-dev libllvm3.7 llvm-3.7-dev libclang-3.7-dev python zlib1g-dev libelf-dev
sudo apt-get -y install luajit luajit-5.1-dev
git clone https://github.com/iovisor/bcc.git
mkdir bcc/build; cd bcc/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install
sudo apt-get -y install netperf iperf
OK
以上是关于ubuntu17.04 调试系统工具bcc,systamtap安装的主要内容,如果未能解决你的问题,请参考以下文章
如何从Ubuntu 16.10升级到Ubuntu 17.04