diff options
Diffstat (limited to 'tools/sched/schedgraph.py')
-rw-r--r-- | tools/sched/schedgraph.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/sched/schedgraph.py b/tools/sched/schedgraph.py index 48adc08..4335574 100644 --- a/tools/sched/schedgraph.py +++ b/tools/sched/schedgraph.py @@ -70,7 +70,6 @@ eventcolors = [ ("count", "red"), ("running", "green"), ("idle", "grey"), - ("spinning", "red"), ("yielding", "yellow"), ("swapped", "violet"), ("suspended", "purple"), @@ -81,6 +80,8 @@ eventcolors = [ ("runq rem", "yellow"), ("thread exit", "grey"), ("proc exit", "grey"), + ("callwheel idle", "grey"), + ("callout running", "green"), ("lock acquire", "blue"), ("lock contest", "purple"), ("failed lock try", "red"), @@ -855,7 +856,7 @@ class EventSource: return (Y_EVENTSOURCE) def eventat(self, i): - if (i >= len(self.events) or i < 0): + if (i >= len(self.events)): return (None) event = self.events[i] return (event) @@ -902,6 +903,7 @@ class KTRFile: self.timestamp_f = None self.timestamp_l = None self.locks = {} + self.callwheels = {} self.ticks = {} self.load = {} self.crit = {} |