summaryrefslogtreecommitdiffstats
path: root/tools/sched
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-11-06 17:43:25 +0000
committerrwatson <rwatson@FreeBSD.org>2005-11-06 17:43:25 +0000
commit192c946ba5d70acf20a985ff4934bafb240df963 (patch)
treef7bfe5212b5e01760cca654e6f2f9b3594cda794 /tools/sched
parent33ac50a107d16292216b581ff8784c699b9545ab (diff)
downloadFreeBSD-src-192c946ba5d70acf20a985ff4934bafb240df963.zip
FreeBSD-src-192c946ba5d70acf20a985ff4934bafb240df963.tar.gz
Fix two minor typos that caused schedgraph to exit with an exception
when running on traces referencing >2 CPUs.
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 8f9acf9..56e055b 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,
OpenPOWER on IntegriCloud