• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

goldshtn/linux-tracing-workshop: Examples and hands-on labs for Linux tracing to ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

goldshtn/linux-tracing-workshop

开源软件地址(OpenSource Url):

https://github.com/goldshtn/linux-tracing-workshop

开源编程语言(OpenSource Language):

HTML 60.4%

开源软件介绍(OpenSource Introduction):

Linux Tracing Workshops Materials

This repository contains examples and hands-on labs for various Linux tracing workshops, focusing on modern tracing tools. To perform these labs, you will need a Linux box that meets several prerequisites. You can also use an EC2 instance supplied by the instructor.


Prerequisites

  1. Linux 4.6+ (the distribution doesn't matter; tested on Ubuntu and Fedora Core)
  2. perf
  3. perf-map-agent
  4. FlameGraph
  5. perf-tools
  6. bcc
  7. OpenJDK
  8. The systemtap-sdt-dev package on Ubuntu or the systemtap-sdt-devel package on Fedora/RHEL
  9. Node.js built from source with configure --with-dtrace
  10. MySQL or MariaDB built from source with -DENABLE_DTRACE=1
  11. PostgreSQL built from source with configure --enable-dtrace
  12. MySQL Python Connector

If you're using Fedora 24+, try the experimental setup script, which can fetch you a recent kernel from mainline and install all the packages and tools you need for this workshop. Use at your own risk!


Strigo Virtual Environment

When this workshop is delivered as instructor-led training, the instructor will provision a Strigo virtual classroom (EC2 instances) for each student. To use the Strigo virtual environment:

  1. Log in to Strigo using the link provided by the instructor (you can log in with Google or create a new account, no verification required)
  2. Enter the classroom token (four characters) provided by the instructor to join the classroom
  3. Navigate to the Lab tab (fourth from the top, the icon that looks like a test tube) to get your EC2 instance started

Labs

  1. Probing Tracepoints with ftrace
  2. CPU Sampling with perf and Flame Graphs
  3. Using BPF Tools: Broken File Opens
  4. Using BPF Tools: Slow File I/O
  5. Using BPF Tools: Chasing a Memory Leak
  6. Using BPF Tools: Database and Disk Stats and Stacks
  7. Using BPF Tools: Node and JVM USDT Probes
  8. Writing BPF Tools: setuidsnoop
  9. Writing BPF Tools: dbslower
  10. Writing BPF Tools: Contention Stats and Stacks
  11. Writing BPF Tools: From BCC GitHub Issues
  12. Using perf Tools: Broken File Opens
  13. Using BPF Tools: trace and argdist One-Liners
  14. Using BPF Tools: CPU and Off-CPU Investigation
  15. Using perf Tools: Slow File I/O
  16. Using BPF Tools: Node Blocked Time Analysis
  17. Using BPF Tools: Node Garbage Collections
  18. Using BPF Tools: Node File Opens
  19. Using BPF Tools: Node Slow MySQL Queries
  20. Node Profiling with V8
  21. Node Core Dump Analysis with llnode
  22. Node Memory Leak Analysis
  23. Node Slow HTTP Requests
  24. Node Slow DNS
  25. Node Leaky Slowdown

(C) Sasha Goldshtein, 2015-2017. All rights reserved.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap