Flamegraphs Purpose Guide agents through the pipeline from profiler data to SVG flamegraph, and teach interpretation of flamegraphs to drive concrete optimisation decisions. Triggers - "How do I generate a flamegraph from perf data?" - "How do I read a flamegraph?" - "The flamegraph shows a wide frame — what does that mean?" - "How do I generate a flamegraph from Callgrind?" - "I want to compare two flamegraphs (before/after)" Workflow 1. Install FlameGraph tools 2. perf → flamegraph (most common path) One-liner: 3. Differential flamegraph (before/after) 4. Callgrind → flamegraph 5. Other pro…