diff --git a/trappy/systrace.py b/trappy/systrace.py index 41d806fac2b3a0d9bdf497edc8fbdc7dbf6d600c..de58f413df5ac0ac452eb1a5f3b36f3ee0394774 100644 --- a/trappy/systrace.py +++ b/trappy/systrace.py @@ -21,7 +21,7 @@ from trappy.ftrace import GenericFTrace import re SYSTRACE_EVENT = re.compile( - r'^(?P[A-Z])(\|(?P\d+)\|(?P[^|]*)(\|(?P.*))?)?') + r'^(?P[A-Z])(\|(?P\d+))?(\|(?P[^|]*)(\|(?P.*))?)?') class drop_before_trace(object): """Object that, when called, returns True if the line is not part of