Skip to content

Commit 4713e0b

Browse files
committed
Port EventPipe CoreCLR changes to Mono.
Port changes done in the following CoreCLR PR's affecting corresponding Mono runtime EventPipe library sources: dotnet/runtime#36720 dotnet/runtime#37002 dotnet/runtime#38967 dotnet/runtime#40191 dotnet/runtime#40332 dotnet/runtime#40499 EventPipe native code changes track by dotnet/runtime#36820.
1 parent f564c1d commit 4713e0b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mono/metadata/icall-eventpipe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ ves_icall_System_Diagnostics_Tracing_EventPipeInternal_Enable (
320320
(EventPipeSerializationFormat)format,
321321
true,
322322
NULL,
323-
true);
323+
NULL);
324324
ep_start_streaming (session_id);
325325

326326
if (config_providers) {

mono/mini/mini-runtime.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4555,6 +4555,7 @@ mini_init (const char *filename, const char *runtime_version)
45554555

45564556
#if defined(ENABLE_PERFTRACING) && !defined(DISABLE_EVENTPIPE)
45574557
ep_init ();
4558+
ep_finish_init ();
45584559
#endif
45594560

45604561
if (mono_aot_only) {

0 commit comments

Comments
 (0)