Example #1
0
        /// <summary>
        /// Creates a reader for one or more .etl (Event Trace Log) files
        /// </summary>
        /// <param name="etlFiles">up to 63 files to read</param>
        /// <returns>sequence of events ordered by timestamp</returns>
        public static IObservable <IDictionary <string, object> > FromFiles(params string[] etlFiles)
        {
            EtwTdhDeserializer d = new EtwTdhDeserializer();
            var file             = EtwObservable.FromFiles(etlFiles);

            return(file.Select(e => new EtwTdhEvent(d, e)));
        }
 public static void AddEtlFiles(this IPlaybackConfiguration playback, params string[] files)
 {
     playback.AddInput(
         () => EtwObservable.FromFiles(files),
         typeof(EtwManifestTypeMap),
         typeof(EtwClassicTypeMap),
         typeof(EtwTypeMap));
 }