Open mausch opened 5 years ago
In a system without lttng ./perfcollect collect sampleTrace -nolttng errors out with "LTTng not installed. Install LTTng to proceed."
./perfcollect collect sampleTrace -nolttng
This is because in the script EnsurePrereqsInstalled comes before ProcessArguments has a chance to set useLTTng=0
EnsurePrereqsInstalled
ProcessArguments
useLTTng=0
workaround: sed -ie 's/useLTTng=1/useLTTng=0/' perfcollect
sed -ie 's/useLTTng=1/useLTTng=0/' perfcollect
hmm I see someone has already sent a PR fixing this https://github.com/dotnet/corefx-tools/pull/75
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 beforeProcessArguments
has a chance to setuseLTTng=0
workaround:
sed -ie 's/useLTTng=1/useLTTng=0/' perfcollect