Whamm: A Framework for Performant, Sandboxed Instrumentation.
summary
Whamm is a Wasm instrumentation framework that either statically rewrites bytecode or dynamically injects probes via an engine interface 'way', using a DSL that compiles to a standalone tool.wasm describing match points and probe state. The demo builds a branch profiler and a heavyweight cache simulator and produces CSV output for postprocessing. Engine-side optimizations reduce overhead from a 4.7x unoptimized penalty down to about 1.6x overhead when probes are inlined, and support for kernel events and eBPF is planned.
AI-written summary · about
chapters (12)
- 0:00Whamm framework intro
- 1:25Instrumentation use cases
- 3:34Building Whamm for WASM
- 4:37Writing WHAM tool
- 7:49WHAM framework architecture
- 10:58Live call graph demo
- 13:25Performance optimizations
- 15:30Engine vs rewriting targets
- 16:36Engine interface mechanics
- 17:41Future cloud-native plans
- 19:45Standardization goals
- 20:27Q&A
related talks
16mDebugging WebAssembly? Put some Whamm on it!
40mWhamm! A WebAssembly Bytecode Instrumentation DSL
16mWasmgrind: Towards Dynamic Concurrency Analysis for Multithreaded WebAssembly
35mInside the Wizard Research Engine
45mWasmer Things: An Upside-Down Guide to WebAssembly
49mWasmer Things: An Upside-Down Guide to WebAssembly
44mInside the Wizard Research Engine
31mHow We Can Create a Thriving Wasm Ecosystem
