- The regexp for the load should have been (/d+), fix this so loads over 9
are properly represented.
This commit is contained in:
parent
764e80eed7
commit
d74da89b42
@ -487,6 +487,7 @@ class Yielding(StateEvent):
|
||||
enabled = 1
|
||||
def __init__(self, thread, cpu, timestamp, prio):
|
||||
StateEvent.__init__(self, thread, cpu, timestamp)
|
||||
self.skipnext = 1
|
||||
self.prio = prio
|
||||
self.textadd(("prio:", self.prio, 0))
|
||||
|
||||
@ -853,8 +854,8 @@ def parse(self, file):
|
||||
ktrstr += " newprio (\d+) by " + tdname
|
||||
sched_prio_re = re.compile(ktrhdr + ktrstr)
|
||||
|
||||
cpuload_re = re.compile(ktrhdr + "load: (\d)")
|
||||
loadglobal_re = re.compile(ktrhdr + "global load: (\d)")
|
||||
cpuload_re = re.compile(ktrhdr + "load: (\d+)")
|
||||
loadglobal_re = re.compile(ktrhdr + "global load: (\d+)")
|
||||
|
||||
parsers = [[cpuload_re, self.cpuload],
|
||||
[loadglobal_re, self.loadglobal],
|
||||
|
Loading…
Reference in New Issue
Block a user