microsoft / perfview

PerfView is a CPU and memory performance-analysis tool
http://channel9.msdn.com/Series/PerfView-Tutorial
MIT License
4.06k stars 696 forks source link

Opt-in Support for TaskID Lookup Directly From the Event Stream #1977

Closed brianrob closed 6 months ago

brianrob commented 6 months ago

Inspired by #1928 and #1929.

By default, TaskID is not looked up from the event stream for each event, and is instead pulled from event metadata or hardcoded in the parser. This change allows users to ask ETWTraceEventSource to lookup the TaskID from the event stream (present in the header) for each event. This enables tools that vary the TaskID for a given event ID to function properly.