I would like to leverage v8's profiler in istio/envoy.
However as it stands it seems there is no way to get to the v8::Isolate associated to a StoreImpl through wasm::Store.
I feel it would be great if there would be a way to expose that.
Would adding something like the following to the Store interface [1] be an option?:
// Returns the associated v8::Isolate* in the v8 StoreImpl
auto get_native_store() -> void*;
I would like to leverage v8's profiler in istio/envoy. However as it stands it seems there is no way to get to the
v8::Isolate
associated to aStoreImpl
throughwasm::Store
.I feel it would be great if there would be a way to expose that. Would adding something like the following to the Store interface [1] be an option?:
[1] https://github.com/WebAssembly/wasm-c-api/blob/340fd9528cc3b26d22fe30ee1628c8c3f2b8c53b/include/wasm.hh#L215