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`
In a system without lttng
./perfcollect collect sampleTrace -nolttngerrors out with "LTTng not installed. Install LTTng to proceed."This is because in the script
EnsurePrereqsInstalledcomes beforeProcessArgumentshas a chance to setuseLTTng=0workaround:
sed -ie 's/useLTTng=1/useLTTng=0/' perfcollect