summaryrefslogtreecommitdiffstats
path: root/tools/sched
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-10-08 16:22:59 +0000
committerjhb <jhb@FreeBSD.org>2014-10-08 16:22:59 +0000
commit877e018654bd3c77b3f82408d06f1c8d9e750970 (patch)
treea40db068054d270c945b3dd7c22058efb07f466f /tools/sched
parenta6a73044a009d2159c47f23783709d616ca6e259 (diff)
downloadFreeBSD-src-877e018654bd3c77b3f82408d06f1c8d9e750970.zip
FreeBSD-src-877e018654bd3c77b3f82408d06f1c8d9e750970.tar.gz
Add schedgraph traces for callout handlers. Specifically, a callwheel logs
a running event each time it executes a callout function. The event includes the function pointer, argument, and whether or not it was run from hardware interrupt context. The callwheel is marked idle when each handler completes. This effectively logs the duration of each callout routine in the graph.
Diffstat (limited to 'tools/sched')
-rw-r--r--tools/sched/schedgraph.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/sched/schedgraph.py b/tools/sched/schedgraph.py
index e592514..007c9f4 100644
--- a/tools/sched/schedgraph.py
+++ b/tools/sched/schedgraph.py
@@ -80,8 +80,6 @@ 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"),
@@ -903,7 +901,6 @@ class KTRFile:
self.timestamp_f = None
self.timestamp_l = None
self.locks = {}
- self.callwheels = {}
self.ticks = {}
self.load = {}
self.crit = {}
OpenPOWER on IntegriCloud