Port EventPipe CoreCLR changes to Mono. (#41152)
authorJohan Lorensson <lateralusx.github@gmail.com>
Tue, 25 Aug 2020 06:42:48 +0000 (08:42 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Aug 2020 06:42:48 +0000 (08:42 +0200)
commit858ec52af3dbd6441cb664a946493b75e763ce2c
tree626470b6935400be3cf7f5ee17820dd0d07c58a4
parentc0862a51771dad6a9b348ad51166502751cb8fc8
Port EventPipe CoreCLR changes to Mono. (#41152)

* [MonoVM] Enable startup events over EventPipe.

Mono port of CoreCLR PR: https://github.com/dotnet/runtime/pull/36720.

* [MonoVM] Add the ability for profilers to listen to EventPipe events.

Mono port of CoreCLR PR: https://github.com/dotnet/runtime/pull/37002.

* [MonoVM] Add ProcessInfo command to Diagnostics Server.

Mono port of CoreCLR PR: https://github.com/dotnet/runtime/pull/38967.

* [MonoVM] Unregister callback when setting a provider for deferred delete.

Mono port of CoreCLR PR: https://github.com/dotnet/runtime/pull/40191.

* [MonoVM] Generational aware analysis based on environment variable.

Mono port of CoreCLR PR: https://github.com/dotnet/runtime/pull/40332.

NOTE, the ability to pause a session was not ported since it
currently have no use in Mono and looks like a temporary
solution in CoreCLR.

* [MonoVM] Rebrand Diagnostics Server to DiagnosticPort.

Mono port of CoreCLR PR: https://github.com/dotnet/runtime/pull/40499.
24 files changed:
src/mono/mono/eventpipe/ep-buffer-manager.c
src/mono/mono/eventpipe/ep-buffer-manager.h
src/mono/mono/eventpipe/ep-event-source.c
src/mono/mono/eventpipe/ep-event-source.h
src/mono/mono/eventpipe/ep-event.h
src/mono/mono/eventpipe/ep-file.c
src/mono/mono/eventpipe/ep-file.h
src/mono/mono/eventpipe/ep-provider.c
src/mono/mono/eventpipe/ep-provider.h
src/mono/mono/eventpipe/ep-rt-mono.h
src/mono/mono/eventpipe/ep-rt-types-mono.h
src/mono/mono/eventpipe/ep-rt.h
src/mono/mono/eventpipe/ep-session.c
src/mono/mono/eventpipe/ep-session.h
src/mono/mono/eventpipe/ep-stream.c
src/mono/mono/eventpipe/ep-thread.c
src/mono/mono/eventpipe/ep-thread.h
src/mono/mono/eventpipe/ep-types.h
src/mono/mono/eventpipe/ep.c
src/mono/mono/eventpipe/ep.h
src/mono/mono/eventpipe/test/ep-session-tests.c
src/mono/mono/eventpipe/test/ep-tests.c
src/mono/mono/metadata/icall-eventpipe.c
src/mono/mono/mini/mini-runtime.c