Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

fix lttng being optional #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

master-lincoln
Copy link

@master-lincoln master-lincoln commented Apr 9, 2018

Currently when not having lttng available, the perfcollect script is not usable.
Setting the -nolttng flag on startup doesn't help, as the usage of lttng wasn't guarded properly in the script.

This PR fixes this by first processing arguments and guarding the places where lttng is used.

Also fixes some trailing whitespace. If this disturbs your review append ?w=1 to the github URL to ignore.

ProcessArguments now first in Main Script
 lttng use is now guarded everywhere
@dnfclas
Copy link

dnfclas commented Apr 9, 2018

CLA assistant check
All CLA requirements met.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants