perfcollect does not process nolttng flag correctly
mausch opened this issue · comments
Mauricio Scheffer commented
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
Mauricio Scheffer commented
hmm I see someone has already sent a PR fixing this #75