summaryrefslogtreecommitdiff
path: root/tools/sched
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-11-06 17:43:25 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-11-06 17:43:25 +0000
commit6030f1338e29eb0733a3749b6d31812ca8d9ebc9 (patch)
treef7bfe5212b5e01760cca654e6f2f9b3594cda794 /tools/sched
parent49d46b616e0f769d7c8be91b515c385fb880d3b5 (diff)
downloadsrc-test-6030f1338e29eb0733a3749b6d31812ca8d9ebc9.tar.gz
src-test-6030f1338e29eb0733a3749b6d31812ca8d9ebc9.zip
Fix two minor typos that caused schedgraph to exit with an exception
when running on traces referencing >2 CPUs.
Notes
Notes: svn path=/head/; revision=152131
Diffstat (limited to 'tools/sched')
-rw-r--r--tools/sched/schedgraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sched/schedgraph.py b/tools/sched/schedgraph.py
index 8f9acf9d1abf0..56e055b565be7 100644
--- a/tools/sched/schedgraph.py
+++ b/tools/sched/schedgraph.py
@@ -738,9 +738,9 @@ class EventSource:
elif (cpu == 2):
color = 'light blue'
elif (cpu == 3):
- color == 'light green'
+ color = 'light green'
else:
- color == "white"
+ color = "white"
l = canvas.create_rectangle(self.cpux,
ypos - self.ysize() - canvas.bdheight,
xpos, ypos + canvas.bdheight, fill=color, width=0,