perfview icon indicating copy to clipboard operation
perfview copied to clipboard

TraceParserGen fails on standard OS provider manifests

Open TimMangan opened this issue 8 years ago • 2 comments

TraceParserGen has a bug when working with manifests that include task based opcodes and fails to generate the CS file when the id of the skipped opcode is later referenced. This can be seen in working with many of the standard OS event logs (example below).

The problem is easily resolved in ETWManifest.cs line 253 (last line of case 'task') by swapping out reader.Skip(); with reader.Read(); which allows the child elements of task to be read.

To reproduce this issue on Windows 10: perfview.exe /noGUI /LogFile:FILE userCommand DumpRegisteredManifest Microsoft-AppV-ServiceLog TraceParserGen.exe Microsoft-AppV-Client-StreamingUX.manifest.xml ETW_Formatter_Microsoft-AppV-Client-StreamingUX.cs

TimMangan avatar Oct 14 '17 00:10 TimMangan

Due to lack of recent activity, this issue has been labeled as 'stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label.

github-actions[bot] avatar Oct 21 '25 02:10 github-actions[bot]

Keeping this one alive while we work on a TraceParserGen test bed.

brianrob avatar Oct 29 '25 20:10 brianrob