Hacker Tools: CLI debugging and profiling
Posted on by Hao Wei
This workshop has ended; here are links to the materials and recording:
Date/Time: Tuesday, 20 Oct 2020, 18:30–20:30
Sign up here
Come learn how to debug and profile various things on Linux, all from the command line. We’ll look at how to figure out what’s going wrong with programs you write and the operating system itself.
Please ensure you have access to real Linux. If you are on a Linux distribution, you are set; if you use Windows or Mac, consider installing Ubuntu in a virtual machine like VirtualBox. If you are on Windows, you can also use Windows Subsystem for Linux 2. (WSL 1 is not suitable.)
Please make sure you have the following programs installed in your Linux system:
- Git, Perl 5, Python 3, gdb, strace, ltrace, Valgrind, GCC, perf (Linux kernel), htop, dstat, iotop, df, du, free, lsof, ss, stress, s-tui
- On Ubuntu, the following packages: gdb strace ltrace valgrind linux-tools htop dstat iotop lsof iproute2 stress s-tui procps build-essential python3 perl git
- On Arch Linux, the following packages: gdb strace ltrace valgrind perf htop dstat iotop lsof iproute2 stress s-tui procps-ng base-devel python perl git
For security and safety reasons, the Zoom link will not be published publicly. Please register here to attend this workshop.
This workshop is largely based on the Missing Semester of Your CS Education lecture series conducted in MIT. This week’s topic is based on https://missing.csail.mit.edu/2020/debugging-profiling/.
See you there!