Merge pull request #4 from ErickReyesR/patch-2

criticalstat.py: check for required trace events