Skip to content

Commit

Permalink
-Fix Dump ObjectRef where in CSV output for ObjectRef traces object t…
Browse files Browse the repository at this point in the history
…ype and object name was missing in CSV output. Removed empty HandleType.
  • Loading branch information
AloisKraus committed Jun 18, 2024
1 parent c285ae7 commit 4208e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ETWAnalyzer/EventDump/DumpObjectRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private void WriteCSVData(List<MatchData> lret)
ETWProcess refChangeProc = objectEvent.Extract.GetProcess(refChange.ProcessIdx);

WriteCSVLine(CSVOptions, Path.GetFileNameWithoutExtension(objectEvent.File.FileName), objectEvent.File.PerformedAt, objectEvent.File.TestName, objectEvent.File.DurationInMs, objectEvent.BaseLine,
objectEvent.Id, GetStack(objectEvent.Stacks, refChange.StackIdx), refChange.GetType().Name, refChange.TimeNs, refChange.ThreadId, "", "", GetHandleValue((ulong)objectEvent.ObjTrace.ObjectPtr), objectEvent.HandleType,
objectEvent.Id, GetStack(objectEvent.Stacks, refChange.StackIdx), refChange.GetType().Name, refChange.TimeNs, refChange.ThreadId, "", objectEvent.ObjTrace.GetObjectType(objectEvent.Extract), objectEvent.ObjTrace.Name, GetHandleValue((ulong)objectEvent.ObjTrace.ObjectPtr),
"", "",
"", "", "", "",
refChange.RefCountChange,
Expand Down

0 comments on commit 4208e91

Please sign in to comment.