码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu17.04 调试系统工具bcc,systamtap安装

时间:2017-07-02 15:18:19      阅读:521      评论:0      收藏:0      [点我收藏+]

标签:ubuntu   system   系统工具   flex   make   utc   amd   efi   apt   

 发行版 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   system   系统工具   flex   make   utc   amd   efi   apt   

原文地址:http://www.cnblogs.com/zengkefu/p/7105907.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!