aboutsummaryrefslogtreecommitdiff
path: root/tools/sched
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2008-01-13 22:46:24 +0000
committerKris Kennaway <kris@FreeBSD.org>2008-01-13 22:46:24 +0000
commite73e773084efd66593402ce08c88778535b6ac1a (patch)
tree1ae275e1f4c2ecce3059962780c6d9f1766fe545 /tools/sched
parent5ef02c0223218056469d28ca94533d3b210e5913 (diff)
downloadsrc-e73e773084efd66593402ce08c88778535b6ac1a.tar.gz
src-e73e773084efd66593402ce08c88778535b6ac1a.zip
Notes
Diffstat (limited to 'tools/sched')
-rw-r--r--tools/sched/schedgraph.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/sched/schedgraph.py b/tools/sched/schedgraph.py
index 8fa67b655c98..5e41c1cd9ea2 100644
--- a/tools/sched/schedgraph.py
+++ b/tools/sched/schedgraph.py
@@ -38,10 +38,11 @@ from Tkinter import *
# options KTR_ENTRIES=32768
# options KTR_COMPILE=(KTR_SCHED)
# options KTR_MASK=(KTR_SCHED)
-# options KTR_CPUMASK=0x3
# - It is encouraged to increase KTR_ENTRIES size to gather enough
# information for analysis; e.g.
# options KTR_ENTRIES=262144
+# as 32768 entries may only correspond to a second or two of profiling
+# data depending on your workload.
# - Rebuild kernel with proper changes to KERNCONF and boot new kernel.
# - Run your workload to be profiled.
# - While the workload is continuing (i.e. before it finishes), disable
@@ -1225,7 +1226,7 @@ class KTRFile:
class SchedDisplay(Canvas):
def __init__(self, master):
- self.ratio = 1
+ self.ratio = 10
self.ktrfile = None
self.sources = None
self.bdheight = 10