Viceroy icon indicating copy to clipboard operation
Viceroy copied to clipboard

CLI support for an optional ,interval for the guest profiler, to match wasmtime

Open katef opened this issue 10 months ago • 0 comments

In #301 support for guest profiling was added. This corresponds to an equivalent CLI flag in wasmtime introduced in https://github.com/bytecodealliance/wasmtime/pull/6362 (and documented in https://github.com/bytecodealliance/wasmtime/pull/6393).

We have no way to control the profiling interval for Viceroy:

Viceroy: --profile=guest[,path] Wasmtime: --profile=guest[,path[,interval]]

This ticket is to add the optional ,interval part, just like wasmtime has.

katef avatar Apr 09 '24 11:04 katef