Repository navigation
wperf 0.12.0.10
wperf 0.12.0
This release makes symbol resolution easier to diagnose and adds a native,
self-contained HTML workflow for CPU and off-CPU FlameGraphs. The existing
flamegraph.pl SVG workflow remains supported.
Highlights
- Added
report --flamegraphand the standalonewperf flamegraphcommand for
interactive HTML FlameGraphs generated without Perl, external JavaScript, or
network access. - Added symbol diagnostics for DbgHelp, effective symbol search paths, the
persistent.symcache, resolution layers, module rejection reasons, and
missing PDB/PE details. - Fixed
--symbol-pathso explicit local paths augment_NT_SYMBOL_PATHinstead
of replacing it. This restores Microsoft symbol-server lookup for modules such
askernel32.dllandntdll.dll. - Made
--symbol-pathrepeatable and added semicolon-separated multi-path
values for mixed local and symbol-server workflows.
Interactive FlameGraph HTML
CPU, PMC, and off-CPU reports can now be rendered directly:
wperf report -i cpu.etl --symbol-path .\symbols --flamegraph -o cpu.html
wperf report -i sched.etl --off-cpu --flamegraph -o offcpu.html
wperf flamegraph -i stacks.folded -o stacks.htmlThe generated page supports:
- click-to-inspect frame details, including function, module, and module identity;
- double-click zoom, drag range selection, breadcrumb navigation, and reset;
- search with Enter/Shift+Enter navigation;
- minimum-percentage filtering and current-view SVG/PNG export;
- stack copying with one frame per line and folded-stack copying;
- horizontal scrolling for long stack frames instead of confusing wrapped text.
SVG/PNG exports contain the current filtered and focused view, not only the
initial graph. HTML generation is a presentation feature and does not change the
stable JSON/CSV output contracts.
Symbol diagnostics
report --verbose now reports:
- the DbgHelp version and effective symbol path source;
- explicit and environment symbol paths;
- the
.symcachelocation and cache byte usage; - memory, persistent-cache, and DbgHelp resolution counts;
- unresolved addresses, module totals, and rejected/missing-PDB module details.
report --json --metadata exposes the same information under symbols. Full
local paths are retained intentionally because this is local troubleshooting
data. doctor --bundle creates a bundle for review; it does not automatically
redact user paths or environment-derived symbol-server credentials. Review a
bundle before sharing it.
Compatibility and behavior changes
-
Explicit
--symbol-pathvalues are now prepended to_NT_SYMBOL_PATHrather
than replacing it. -
--symbol-pathaccepts multiple paths, with repeatable options and semicolon
separation. -
CPU and off-CPU
report --json --metadataresponses add asymbolsobject.
Consumers should tolerate additive fields as documented by the public
contract. -
report --foldedremains available for external SVG generation. For example:wperf report -i app.etl --weight samples --folded -o stacks.folded perl flamegraph.pl stacks.folded > stacks.svg
Validation
The release workflow builds and tests the x64 Release configuration and requires
WPERF_REQUIRE_LIVE_TESTS=1. The local elevated validation completed all 74 CTest
entries, including the live ETW, PMC, symbol-image, and diagnostics paths.
Release assets include wperf.exe, wperf.pdb, manifest.json, and
SHA256SUMS.txt.
Known limitations
- Hardware-specific PMC and live ETW behavior still depends on the Windows
version, CPU family, and available ETW providers. - Symbol-server access depends on a valid
_NT_SYMBOL_PATHand network/proxy
configuration. First-time downloads from a slow or unreachable symbol server
can significantly delay reports; cached PDBs and local symbol paths avoid that
wait. Partial symbol-download recovery remains future work. - HTML FlameGraph is a local artifact; it does not provide multi-user
collaboration or server-side storage. flamegraph.plremains the supported route when an external SVG file is
required.