dotnet / corefx-tools

Place to include various misc tools for .NET and .NET Core.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perfcollect does not process nolttng flag correctly

mausch opened this issue · comments

In a system without lttng ./perfcollect collect sampleTrace -nolttng errors out with "LTTng not installed. Install LTTng to proceed."

This is because in the script EnsurePrereqsInstalled comes before ProcessArguments has a chance to set useLTTng=0

workaround: sed -ie 's/useLTTng=1/useLTTng=0/' perfcollect

hmm I see someone has already sent a PR fixing this #75