# 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
]
