Skip to content

Commit

Permalink
[Mono]: Add a verbose jit done event into EventPipe MonoProfiler prov…
Browse files Browse the repository at this point in the history
…ider. (#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.
  • Loading branch information
lateralusX committed Aug 4, 2021
1 parent c082af3 commit a491087
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 296 deletions.
1 change: 0 additions & 1 deletion src/coreclr/scripts/genEventPipe.py
Expand Up @@ -593,7 +593,6 @@ def getMonoEventPipeHelperFileImplPrefix():
size_t *size,
bool *fixed_buffer)
{
EP_ASSERT (value != NULL);
EP_ASSERT (buffer != NULL);
EP_ASSERT (offset != NULL);
EP_ASSERT (size != NULL);
Expand Down

0 comments on commit a491087

Please sign in to comment.