mirror of
https://github.com/Kae7in/perfview
synced 2026-08-09 12:09:44 +00:00
Fix issue on Antares managed modules only be resolved to the default name ManangedModule.
Basically we were missing DCStart evnets (only the DCStops. Added that in.
This commit is contained in:
@@ -1070,11 +1070,14 @@ namespace Microsoft.Diagnostics.Tracing.Etlx
|
||||
};
|
||||
|
||||
var ClrRundownParser = new ClrRundownTraceEventParser(rawEvents);
|
||||
ClrRundownParser.LoaderModuleDCStop += delegate (ModuleLoadUnloadTraceData data)
|
||||
Action< ModuleLoadUnloadTraceData> onLoaderRundown = delegate(ModuleLoadUnloadTraceData data)
|
||||
{
|
||||
this.processes.GetOrCreateProcess(data.ProcessID, data.TimeStampQPC).LoadedModules.ManagedModuleLoadOrUnload(data, false, true);
|
||||
};
|
||||
|
||||
ClrRundownParser.LoaderModuleDCStop += onLoaderRundown;
|
||||
ClrRundownParser.LoaderModuleDCStart += onLoaderRundown;
|
||||
|
||||
Action<MethodLoadUnloadVerboseTraceData> onMethodStart = delegate (MethodLoadUnloadVerboseTraceData data)
|
||||
{
|
||||
// We only capture data on unload, because we collect the addresses first.
|
||||
|
||||
Reference in New Issue
Block a user