Re:Wazero: The zero dependency WebAssembly runtime for Go de...
by miloignis on Tuesday May 17, 2022 @10:33AM
(#31411272)
That looks similar to how I profile my webassembly in wasmtime: https://docs.wasmtime.dev/examples-profiling-perf.html
, so that might be what you're looking for! It works pretty well.
Wasmtime also has this page on debugging with supported debuggers when the webassembly was compiled with debug information: https://docs.wasmtime.dev/examples-debugging.html
[0] https://github.com/jvm-profiling-tools/perf-map-agent
[1] https://github.com/torvalds/linux/blob/master/tools/perf/Doc...