sched.py fix imported from the main branch
Merge branch 'master' of https://github.com/mehran-47/lttngAnalysesForOpenSAF