A start repo for the manual club session on linux perf.
For this week please read the linux perf tutorial.
Here's a quick example of running linux perf on a C++ binary.
git clone https://github.com/tailwind/manual-club-linux-perf
cd manual-club-linux-perf
# Shell into a docker container running debian
./linux-shell.sh
# Compile our fibonacci program
gcc fib.c
# Performance profile our compiled binary
perf record ./a.out
# Read out performance profile
perf reportHere's a quick example of running linux perf on a Rust binary.
git clone https://github.com/tailwind/manual-club-linux-perf
cd manual-club-linux-perf
# Shell into a docker container running debian
./linux-shell.sh
source $HOME/.cargo/env
# Compile our program
cargo build --release
# Performance profile our compiled binary
perf record ./target/release/manual-club-linux-perf
# Read out performance profile
perf report