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

Trim whitespace when parsing additional providers #1998

Closed zpostfacto closed 4 months ago

zpostfacto commented 4 months ago

Without this change, a very simple mistake such as an extra space in the comma-separated list of providers will silently cause the provider to not be enabled. This is a very easy mistake to make if the list of providers you want to enable is large and you are copying and pasting the list from somewhere else and it gets word wrapped, etc.