Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-profiling

Continuous Profiling Internals (eBPF Stack Sampling & Flame Graphs)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Continuous Profiling Internals (eBPF Stack Sampling & Flame Graphs) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-profiling/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-profiling)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-profiling)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-profiling" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Continuous Profiling Internals (eBPF Stack Sampling & Flame Graphs) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Production Services"]
  n1_1["eBPF Kernel Sampler"]
  n2a_2["Symbolicator Tier"]
  n2b_3[("Profile Aggregator")]
  n3_4[("Profile & Flame Store")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Sample · eBPF"| n1_1
  n1_1 -->|"2a. Resolve · gRPC"| n2a_2
  n1_1 -.->|"2b. Fold tree · gRPC"| n2b_3
  n2a_2 -->|"3a. Query diff · S3"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Production ServicesSTATELESS
    CPU, heap & mutex hotspots
  • eBPF Kernel SamplerSTATELESS
    99Hz perf_event stack capture
  • Symbolicator TierSTATELESS
    DWARF/JIT debuginfo resolve
  • Profile AggregatorSTATEFUL
    Merge call-tree pprof blocks
  • Profile & Flame StoreSTATEFUL
    Columnar blocks + diff UI
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Production Services → eBPF Kernel Sampler (Sample)[eBPF]
  2. eBPF Kernel Sampler → Symbolicator Tier (Resolve)[gRPC]
  3. eBPF Kernel Sampler → Profile Aggregator (Fold tree)[gRPC]
  4. Symbolicator Tier → Profile & Flame Store (Query diff)[S3]
  5. Profile Aggregator → Profile & Flame Store (Sync)[Control]
  6. Profile & Flame Store → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →