perf-workshop/nix/packages.nix
2026-01-10 13:05:09 +05:30

46 lines
584 B
Nix

# Shared package list for the Linux Performance Workshop
{ pkgs, kernelPackages ? pkgs.linuxPackages }:
with pkgs; [
# Build essentials
gcc
gnumake
binutils
pkg-config
# Performance and tracing tools
perf
strace
ltrace
htop
bpftrace
# Python ecosystem
(python3.withPackages (ps: with ps; [
pip
flask # for scenario7 pyroscope demo
]))
py-spy
# Benchmarking and debugging
hyperfine
valgrind
flamegraph
# USDT/SDT support (provides sys/sdt.h)
libsystemtap
# Continuous profiling
pyroscope
# Utilities
curl
wget
git
file
which
less
vim
nano
]