[Mono]: Add a verbose jit done event into EventPipe MonoProfiler provider. (#56530)
authorJohan Lorensson <lateralusx.github@gmail.com>
Wed, 4 Aug 2021 07:38:35 +0000 (09:38 +0200)
committerGitHub <noreply@github.com>
Wed, 4 Aug 2021 07:38:35 +0000 (09:38 +0200)
commita49108739a5555b1e0ed8618010ee181974c9142
treed518df878040cc42b5d0c0f66d1c2abfedc51e9d
parentc082af307d252a7ad755c729f1de55b6cfb25c5a
[Mono]: Add a verbose jit done event into EventPipe MonoProfiler provider. (#56530)

* Add a verbose jit done event into EventPipe MonoProfiler provider.

In order to get full method info in nettrace it is sometimes needed to
include method load verbose info. This can be done using Microsoft-
Windows-DotNETRuntime provider, but when using that it will also setup
a lot of managed diagnostics classes highly affecting startup profiling.

MonoProfiler provider, Microsoft-DotNETRuntimeMonoProfiler already emits
all needed info for advanced low level diagnostics, but currently lacks
verbose method load data when emitting jit done event.

Commit also adds new versions to JitDone as well as ClassLoaded including
generic type info if available as well as dropping use of ClrInstanceId since
it is not used/needed for events that are new.
src/coreclr/scripts/genEventPipe.py
src/coreclr/vm/ClrEtwAll.man
src/coreclr/vm/ClrEtwAllMeta.lst
src/mono/mono/eventpipe/ep-rt-mono.c