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:
Vance Morrison
2016-06-08 13:31:47 -07:00
parent fa6ccfc623
commit ab3d522b2d
+4 -1
View File
@@ -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.