예제 #1
0
        public TraceTypeSystemContext(PgoTraceProcess traceProcess, int clrInstanceID, Logger logger)
        {
            foreach (var traceData in traceProcess.TraceProcess.EventsInProcess.ByEventType <ModuleLoadUnloadTraceData>())
            {
                if (traceData.ModuleILPath != null)
                {
                    _normalizedFilePathToFilePath[traceData.ModuleILPath] = traceData.ModuleILPath;
                }
            }

            _pgoTraceProcess  = traceProcess;
            _clrInstanceID    = clrInstanceID;
            _moduleLoadLogger = new ModuleLoadLogger(logger);
        }
예제 #2
0
 public TraceTypeSystemContext(PgoTraceProcess traceProcess, int clrInstanceID, Logger logger)
 {
     _pgoTraceProcess  = traceProcess;
     _clrInstanceID    = clrInstanceID;
     _moduleLoadLogger = new ModuleLoadLogger(logger);
 }