diff options
| author | Stefan Boberg <[email protected]> | 2026-04-15 00:12:19 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-15 00:12:19 +0200 |
| commit | 40bd8b2d5e0ba73ad0d18d3b31c04bee27162a7c (patch) | |
| tree | 37c2c9037823674b749f1d757bd7d07ff19750eb /src/zennomad/nomadprovisioner.cpp | |
| parent | Replace tourist Vector/UnorderedMap with eastl equivalents in trace analyzers (diff) | |
| download | zen-sb/tourist.tar.xz zen-sb/tourist.zip | |
Add memory allocation and callstack analysis to trace modelsb/tourist
Add AllocationAnalyzer and CallstackAnalyzer in new trace_memory.h/cpp
files that subscribe to Memory.* trace events and build an aggregate
memory model: live allocation tracking, memory-over-time timeline
(sampled at 10ms intervals from Marker events), heap/tag metadata,
per-root-heap statistics, and per-callstack live allocation stats.
Callstack support decodes all four UE callstack formats (raw uint64[],
DeltaVarInt, Delta7bit, XORAndRLE) and resolves frame addresses to
module+offset using ModuleAnalyzer data. Full PDB/DWARF symbolication
is deferred.
Extract TraceTiming and SafeFieldStr to trace_support.h so they can be
shared across trace_support.cpp and trace_memory.cpp without duplication.
Expose the data via seven new JSON API endpoints: alloc-summary, heaps,
alloc-tags, memory-timeline (with range filtering and downsampling),
heap-stats, callstacks (by ID), and callstack-stats (top N by live bytes).
Add has_memory_data flag to the session endpoint.
Also fix non-ASCII characters (em dashes, arrows) throughout trace_support
comments for source file consistency.
Diffstat (limited to 'src/zennomad/nomadprovisioner.cpp')
0 files changed, 0 insertions, 0 deletions