diff --git a/src/mono/wasm/runtime/diagnostics.ts b/src/mono/wasm/runtime/diagnostics.ts index 6e675ff0de5afb..c7d23d2cf1e7b5 100644 --- a/src/mono/wasm/runtime/diagnostics.ts +++ b/src/mono/wasm/runtime/diagnostics.ts @@ -6,6 +6,7 @@ import * as memory from './memory'; export interface EventPipeSession { get sessionID(): number; + start(): void; stop(): void; saveTrace(): string; diff --git a/src/mono/wasm/runtime/dotnet.d.ts b/src/mono/wasm/runtime/dotnet.d.ts index 2f6aefa2bdaf08..7aa69ea4d514df 100644 --- a/src/mono/wasm/runtime/dotnet.d.ts +++ b/src/mono/wasm/runtime/dotnet.d.ts @@ -240,6 +240,7 @@ declare type DotnetModuleConfigImports = { interface EventPipeSession { get sessionID(): number; + start(): void; stop(): void; saveTrace(): string; }