安装systemtap

使用systemtap之前,安装它,如何安装参考链接1,同时,需要配套安装调试符号表。

centos 64的系统,安装调试符号表:

安装 kernel-debuginfo-common-x86_64-$(uname -r).el7.x86_64.rpm ,kernel-debuginfo-x86_64-$(uname -r).el7.x86_64.rpm两个rpm包

ubuntu 64系统的 安装调试符号表:

如:uname -r 

4.4.0-142-generic #168-Ubuntu

安装如下 deb包:

linux-image-4.4.0-142-generic-dbgsym_4.4.0-142.168_amd64

ubuntu自带的systemtap和Linux kernel的改动不配套,需要给systemtap打上补丁,重新编译安装,具体错误链接2

使用systemtap

 

 

systemtap语言简介

 

用systemtap解决一些实际问题

 

centos 7.2的debuginfo 的rpm包的链接:

1.http://ftp.riken.jp/Linux/cern/centos/7.2/updates/Debug/x86_64/

2.https://bean-li.github.io/systemtap-check-memory-leak/

相关文章:

  • 2021-09-01
  • 2021-09-10
  • 2021-09-12
  • 2021-09-14
  • 2021-09-19
  • 2021-09-25
  • 2021-11-04
  • 2021-10-18
猜你喜欢
  • 2018-07-19
  • 2021-12-27
  • 2021-09-28
  • 2022-01-13
  • 2021-11-02
  • 2021-11-18
  • 2021-05-26
  • 2021-12-04
相关资源
相似解决方案