Skip to content

goldshtn/linux-tracing-workshop

 
 

Repository files navigation

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 a VirtualBox appliance supplied by the instructor.


StatsCraft 2016

At StatsCraft 2016, you can use a pre-provisioned Strigo environment, which provisions EC2 instances automatically for you. Follow these instructions to launch your instance:

  1. Log in to Strigo -- the email address you provide is not verified, so you don't have to sign up with your real identity if you don't want to
  2. Enter the classroom token (four characters) provided by the instructor
  3. Navigate to the Lab tab (fourth from the top, the icon that looks like a test tube) to get your EC2 instance started

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. bcc
  6. OpenJDK
  7. The systemtap-sdt-dev package on Ubuntu or the systemtap-sdt-devel package on Fedora/RHEL
  8. Node.js built from source with configure --with-dtrace
  9. MySQL or MariaDB
  10. MySQL Python Connector

Labs

  1. Probing Tracepoints with ftrace
  2. CPU Sampling with perf and Flame Graphs
  3. Using BPF Tools: Chasing a Memory Leak
  4. Using BPF Tools: Database and Disk Stats and Stacks
  5. Using BPF Tools: Node and JVM USDT Probes
  6. Writing BPF Tools: Contention Stats and Stacks
  7. Writing BPF Tools: From BCC GitHub Issues

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

About

Examples and hands-on labs for Linux tracing tools workshops

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published