Skip to content

Instantly share code, notes, and snippets.

@KungFuJesus
Created April 24, 2020 18:56
Show Gist options
  • Save KungFuJesus/f76c1922cd6fe42f80201e5027580c2a to your computer and use it in GitHub Desktop.
Save KungFuJesus/f76c1922cd6fe42f80201e5027580c2a to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="1200" height="326" onload="init(evt)" viewBox="0 0 1200 326" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Flame graph stack visualization. See https://github.com/brendangregg/FlameGraph for latest version, and http://www.brendangregg.com/flamegraphs.html for examples. -->
<!-- NOTES: -->
<defs>
<linearGradient id="background" y1="0" y2="1" x1="0" x2="0" >
<stop stop-color="#eeeeee" offset="5%" />
<stop stop-color="#eeeeb0" offset="95%" />
</linearGradient>
</defs>
<style type="text/css">
text { font-family:Verdana; font-size:12px; fill:rgb(0,0,0); }
#search, #ignorecase { opacity:0.1; cursor:pointer; }
#search:hover, #search.show, #ignorecase:hover, #ignorecase.show { opacity:1; }
#subtitle { text-anchor:middle; font-color:rgb(160,160,160); }
#title { text-anchor:middle; font-size:17px}
#unzoom { cursor:pointer; }
#frames > *:hover { stroke:black; stroke-width:0.5; cursor:pointer; }
.hide { display:none; }
.parent { opacity:0.5; }
</style>
<script type="text/ecmascript">
<![CDATA[
"use strict";
var details, searchbtn, unzoombtn, matchedtxt, svg, searching, currentSearchTerm, ignorecase, ignorecaseBtn;
function init(evt) {
details = document.getElementById("details").firstChild;
searchbtn = document.getElementById("search");
ignorecaseBtn = document.getElementById("ignorecase");
unzoombtn = document.getElementById("unzoom");
matchedtxt = document.getElementById("matched");
svg = document.getElementsByTagName("svg")[0];
searching = 0;
currentSearchTerm = null;
}
window.addEventListener("click", function(e) {
var target = find_group(e.target);
if (target) {
if (target.nodeName == "a") {
if (e.ctrlKey === false) return;
e.preventDefault();
}
if (target.classList.contains("parent")) unzoom();
zoom(target);
}
else if (e.target.id == "unzoom") unzoom();
else if (e.target.id == "search") search_prompt();
else if (e.target.id == "ignorecase") toggle_ignorecase();
}, false)
// mouse-over for info
// show
window.addEventListener("mouseover", function(e) {
var target = find_group(e.target);
if (target) details.nodeValue = "Function: " + g_to_text(target);
}, false)
// clear
window.addEventListener("mouseout", function(e) {
var target = find_group(e.target);
if (target) details.nodeValue = ' ';
}, false)
// ctrl-F for search
window.addEventListener("keydown",function (e) {
if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) {
e.preventDefault();
search_prompt();
}
}, false)
// ctrl-I to toggle case-sensitive search
window.addEventListener("keydown",function (e) {
if (e.ctrlKey && e.keyCode === 73) {
e.preventDefault();
toggle_ignorecase();
}
}, false)
// functions
function find_child(node, selector) {
var children = node.querySelectorAll(selector);
if (children.length) return children[0];
return;
}
function find_group(node) {
var parent = node.parentElement;
if (!parent) return;
if (parent.id == "frames") return node;
return find_group(parent);
}
function orig_save(e, attr, val) {
if (e.attributes["_orig_" + attr] != undefined) return;
if (e.attributes[attr] == undefined) return;
if (val == undefined) val = e.attributes[attr].value;
e.setAttribute("_orig_" + attr, val);
}
function orig_load(e, attr) {
if (e.attributes["_orig_"+attr] == undefined) return;
e.attributes[attr].value = e.attributes["_orig_" + attr].value;
e.removeAttribute("_orig_"+attr);
}
function g_to_text(e) {
var text = find_child(e, "title").firstChild.nodeValue;
return (text)
}
function g_to_func(e) {
var func = g_to_text(e);
// if there's any manipulation we want to do to the function
// name before it's searched, do it here before returning.
return (func);
}
function update_text(e) {
var r = find_child(e, "rect");
var t = find_child(e, "text");
var w = parseFloat(r.attributes.width.value) -3;
var txt = find_child(e, "title").textContent.replace(/\([^(]*\)$/,"");
t.attributes.x.value = parseFloat(r.attributes.x.value) + 3;
// Smaller than this size won't fit anything
if (w < 2 * 12 * 0.59) {
t.textContent = "";
return;
}
t.textContent = txt;
// Fit in full text width
if (/^ *$/.test(txt) || t.getSubStringLength(0, txt.length) < w)
return;
for (var x = txt.length - 2; x > 0; x--) {
if (t.getSubStringLength(0, x + 2) <= w) {
t.textContent = txt.substring(0, x) + "..";
return;
}
}
t.textContent = "";
}
// zoom
function zoom_reset(e) {
if (e.attributes != undefined) {
orig_load(e, "x");
orig_load(e, "width");
}
if (e.childNodes == undefined) return;
for (var i = 0, c = e.childNodes; i < c.length; i++) {
zoom_reset(c[i]);
}
}
function zoom_child(e, x, ratio) {
if (e.attributes != undefined) {
if (e.attributes.x != undefined) {
orig_save(e, "x");
e.attributes.x.value = (parseFloat(e.attributes.x.value) - x - 10) * ratio + 10;
if (e.tagName == "text")
e.attributes.x.value = find_child(e.parentNode, "rect[x]").attributes.x.value + 3;
}
if (e.attributes.width != undefined) {
orig_save(e, "width");
e.attributes.width.value = parseFloat(e.attributes.width.value) * ratio;
}
}
if (e.childNodes == undefined) return;
for (var i = 0, c = e.childNodes; i < c.length; i++) {
zoom_child(c[i], x - 10, ratio);
}
}
function zoom_parent(e) {
if (e.attributes) {
if (e.attributes.x != undefined) {
orig_save(e, "x");
e.attributes.x.value = 10;
}
if (e.attributes.width != undefined) {
orig_save(e, "width");
e.attributes.width.value = parseInt(svg.width.baseVal.value) - (10 * 2);
}
}
if (e.childNodes == undefined) return;
for (var i = 0, c = e.childNodes; i < c.length; i++) {
zoom_parent(c[i]);
}
}
function zoom(node) {
var attr = find_child(node, "rect").attributes;
var width = parseFloat(attr.width.value);
var xmin = parseFloat(attr.x.value);
var xmax = parseFloat(xmin + width);
var ymin = parseFloat(attr.y.value);
var ratio = (svg.width.baseVal.value - 2 * 10) / width;
// XXX: Workaround for JavaScript float issues (fix me)
var fudge = 0.0001;
unzoombtn.classList.remove("hide");
var el = document.getElementById("frames").children;
for (var i = 0; i < el.length; i++) {
var e = el[i];
var a = find_child(e, "rect").attributes;
var ex = parseFloat(a.x.value);
var ew = parseFloat(a.width.value);
var upstack;
// Is it an ancestor
if (0 == 0) {
upstack = parseFloat(a.y.value) > ymin;
} else {
upstack = parseFloat(a.y.value) < ymin;
}
if (upstack) {
// Direct ancestor
if (ex <= xmin && (ex+ew+fudge) >= xmax) {
e.classList.add("parent");
zoom_parent(e);
update_text(e);
}
// not in current path
else
e.classList.add("hide");
}
// Children maybe
else {
// no common path
if (ex < xmin || ex + fudge >= xmax) {
e.classList.add("hide");
}
else {
zoom_child(e, xmin, ratio);
update_text(e);
}
}
}
search();
}
function unzoom() {
unzoombtn.classList.add("hide");
var el = document.getElementById("frames").children;
for(var i = 0; i < el.length; i++) {
el[i].classList.remove("parent");
el[i].classList.remove("hide");
zoom_reset(el[i]);
update_text(el[i]);
}
search();
}
// search
function toggle_ignorecase() {
ignorecase = !ignorecase;
if (ignorecase) {
ignorecaseBtn.classList.add("show");
} else {
ignorecaseBtn.classList.remove("show");
}
reset_search();
search();
}
function reset_search() {
var el = document.querySelectorAll("#frames rect");
for (var i = 0; i < el.length; i++) {
orig_load(el[i], "fill")
}
}
function search_prompt() {
if (!searching) {
var term = prompt("Enter a search term (regexp " +
"allowed, eg: ^ext4_)"
+ (ignorecase ? ", ignoring case" : "")
+ "\nPress Ctrl-i to toggle case sensitivity", "");
if (term != null) {
currentSearchTerm = term;
search();
}
} else {
reset_search();
searching = 0;
currentSearchTerm = null;
searchbtn.classList.remove("show");
searchbtn.firstChild.nodeValue = "Search"
matchedtxt.classList.add("hide");
matchedtxt.firstChild.nodeValue = ""
}
}
function search(term) {
if (currentSearchTerm === null) return;
var term = currentSearchTerm;
var re = new RegExp(term, ignorecase ? 'i' : '');
var el = document.getElementById("frames").children;
var matches = new Object();
var maxwidth = 0;
for (var i = 0; i < el.length; i++) {
var e = el[i];
var func = g_to_func(e);
var rect = find_child(e, "rect");
if (func == null || rect == null)
continue;
// Save max width. Only works as we have a root frame
var w = parseFloat(rect.attributes.width.value);
if (w > maxwidth)
maxwidth = w;
if (func.match(re)) {
// highlight
var x = parseFloat(rect.attributes.x.value);
orig_save(rect, "fill");
rect.attributes.fill.value = "rgb(230,0,230)";
// remember matches
if (matches[x] == undefined) {
matches[x] = w;
} else {
if (w > matches[x]) {
// overwrite with parent
matches[x] = w;
}
}
searching = 1;
}
}
if (!searching)
return;
searchbtn.classList.add("show");
searchbtn.firstChild.nodeValue = "Reset Search";
// calculate percent matched, excluding vertical overlap
var count = 0;
var lastx = -1;
var lastw = 0;
var keys = Array();
for (k in matches) {
if (matches.hasOwnProperty(k))
keys.push(k);
}
// sort the matched frames by their x location
// ascending, then width descending
keys.sort(function(a, b){
return a - b;
});
// Step through frames saving only the biggest bottom-up frames
// thanks to the sort order. This relies on the tree property
// where children are always smaller than their parents.
var fudge = 0.0001; // JavaScript floating point
for (var k in keys) {
var x = parseFloat(keys[k]);
var w = matches[keys[k]];
if (x >= lastx + lastw - fudge) {
count += w;
lastx = x;
lastw = w;
}
}
// display matched percent
matchedtxt.classList.remove("hide");
var pct = 100 * count / maxwidth;
if (pct != 100) pct = pct.toFixed(1)
matchedtxt.firstChild.nodeValue = "Matched: " + pct + "%";
}
]]>
</script>
<rect x="0.0" y="0" width="1200.0" height="326.0" fill="url(#background)" />
<text id="title" x="600.00" y="24" >Flame Graph</text>
<text id="details" x="10.00" y="309" > </text>
<text id="unzoom" x="10.00" y="24" class="hide">Reset Zoom</text>
<text id="search" x="1090.00" y="24" >Search</text>
<text id="ignorecase" x="1174.00" y="24" >ic</text>
<text id="matched" x="1090.00" y="309" > </text>
<g id="frames">
<g >
<title>unix`tsc_read (543 samples, 0.23%)</title><rect x="23.7" y="69" width="2.6" height="15.0" fill="rgb(233,60,1)" rx="2" ry="2" />
<text x="26.65" y="79.5" ></text>
</g>
<g >
<title>zfs`spa_open_common (50 samples, 0.02%)</title><rect x="44.9" y="133" width="0.3" height="15.0" fill="rgb(246,58,10)" rx="2" ry="2" />
<text x="47.93" y="143.5" ></text>
</g>
<g >
<title>acpica`AcpiNsEvaluate (49 samples, 0.02%)</title><rect x="47.4" y="85" width="0.2" height="15.0" fill="rgb(245,201,27)" rx="2" ry="2" />
<text x="50.36" y="95.5" ></text>
</g>
<g >
<title>genunix`fsflush_do_pages (41 samples, 0.02%)</title><rect x="46.9" y="229" width="0.2" height="15.0" fill="rgb(248,88,46)" rx="2" ry="2" />
<text x="49.92" y="239.5" ></text>
</g>
<g >
<title>zfs`dmu_objset_from_ds (21 samples, 0.01%)</title><rect x="44.6" y="117" width="0.1" height="15.0" fill="rgb(230,87,23)" rx="2" ry="2" />
<text x="47.58" y="127.5" ></text>
</g>
<g >
<title>zfs`zfs_ioc_pool_stats (59 samples, 0.02%)</title><rect x="44.9" y="165" width="0.3" height="15.0" fill="rgb(215,116,13)" rx="2" ry="2" />
<text x="47.89" y="175.5" ></text>
</g>
<g >
<title>mac`i_mac_driver_stat_update (3,313 samples, 1.39%)</title><rect x="28.1" y="149" width="16.3" height="15.0" fill="rgb(212,213,6)" rx="2" ry="2" />
<text x="31.08" y="159.5" ></text>
</g>
<g >
<title>bge`bge_m_stat (3,298 samples, 1.38%)</title><rect x="28.1" y="117" width="16.3" height="15.0" fill="rgb(233,37,52)" rx="2" ry="2" />
<text x="31.09" y="127.5" ></text>
</g>
<g >
<title>zfs`vdev_queue_io_done (24 samples, 0.01%)</title><rect x="48.4" y="197" width="0.1" height="15.0" fill="rgb(242,12,4)" rx="2" ry="2" />
<text x="51.38" y="207.5" ></text>
</g>
<g >
<title>genunix`taskq_thread (295 samples, 0.12%)</title><rect x="47.1" y="245" width="1.5" height="15.0" fill="rgb(213,184,32)" rx="2" ry="2" />
<text x="50.13" y="255.5" ></text>
</g>
<g >
<title>unix`splr (39 samples, 0.02%)</title><rect x="1186.4" y="197" width="0.2" height="15.0" fill="rgb(236,141,49)" rx="2" ry="2" />
<text x="1189.39" y="207.5" ></text>
</g>
<g >
<title>unix`idle (230,413 samples, 96.39%)</title><rect x="48.7" y="245" width="1137.4" height="15.0" fill="rgb(247,77,20)" rx="2" ry="2" />
<text x="51.66" y="255.5" >unix`idle</text>
</g>
<g >
<title>zfs`l2arc_feed_thread (60 samples, 0.03%)</title><rect x="1189.6" y="245" width="0.3" height="15.0" fill="rgb(252,108,4)" rx="2" ry="2" />
<text x="1192.64" y="255.5" ></text>
</g>
<g >
<title>genunix`cyclic_softint (35 samples, 0.01%)</title><rect x="46.4" y="197" width="0.2" height="15.0" fill="rgb(214,227,26)" rx="2" ry="2" />
<text x="49.44" y="207.5" ></text>
</g>
<g >
<title>bge`bge_mii_get16 (3,619 samples, 1.51%)</title><rect x="10.2" y="133" width="17.8" height="15.0" fill="rgb(224,223,16)" rx="2" ry="2" />
<text x="13.16" y="143.5" ></text>
</g>
<g >
<title>unix`tsc_gethrtime (39 samples, 0.02%)</title><rect x="29.7" y="53" width="0.2" height="15.0" fill="rgb(219,22,24)" rx="2" ry="2" />
<text x="32.68" y="63.5" ></text>
</g>
<g >
<title>acpica`AcpiNsGetDeviceCallback (56 samples, 0.02%)</title><rect x="47.3" y="133" width="0.3" height="15.0" fill="rgb(210,49,17)" rx="2" ry="2" />
<text x="50.33" y="143.5" ></text>
</g>
<g >
<title>zfs`zio_vdev_io_done (26 samples, 0.01%)</title><rect x="48.4" y="213" width="0.1" height="15.0" fill="rgb(228,31,2)" rx="2" ry="2" />
<text x="51.37" y="223.5" ></text>
</g>
<g >
<title>unix`pagefault (31 samples, 0.01%)</title><rect x="45.7" y="229" width="0.2" height="15.0" fill="rgb(232,167,30)" rx="2" ry="2" />
<text x="48.72" y="239.5" ></text>
</g>
<g >
<title>zfs`dmu_objset_hold (26 samples, 0.01%)</title><rect x="44.6" y="149" width="0.1" height="15.0" fill="rgb(207,148,23)" rx="2" ry="2" />
<text x="47.58" y="159.5" ></text>
</g>
<g >
<title>unix`thread_affinity_set (99 samples, 0.04%)</title><rect x="1186.6" y="229" width="0.5" height="15.0" fill="rgb(243,117,21)" rx="2" ry="2" />
<text x="1189.63" y="239.5" ></text>
</g>
<g >
<title>bge`bge_mii_access (3,619 samples, 1.51%)</title><rect x="10.2" y="117" width="17.8" height="15.0" fill="rgb(222,149,19)" rx="2" ry="2" />
<text x="13.16" y="127.5" ></text>
</g>
<g >
<title>unix`ddi_get32 (2,927 samples, 1.22%)</title><rect x="29.9" y="101" width="14.5" height="15.0" fill="rgb(254,191,39)" rx="2" ry="2" />
<text x="32.92" y="111.5" ></text>
</g>
<g >
<title>unix`thread_affinity_clear (98 samples, 0.04%)</title><rect x="1186.1" y="229" width="0.5" height="15.0" fill="rgb(239,29,49)" rx="2" ry="2" />
<text x="1189.14" y="239.5" ></text>
</g>
<g >
<title>kstat`read_kstat_data (6,976 samples, 2.92%)</title><rect x="10.1" y="165" width="34.4" height="15.0" fill="rgb(218,32,17)" rx="2" ry="2" />
<text x="13.11" y="175.5" >ks..</text>
</g>
<g >
<title>acpica`AcpiPsExecuteMethod (36 samples, 0.02%)</title><rect x="47.4" y="69" width="0.2" height="15.0" fill="rgb(222,96,25)" rx="2" ry="2" />
<text x="50.40" y="79.5" ></text>
</g>
<g >
<title>unix`av_dispatch_softvect (63 samples, 0.03%)</title><rect x="46.4" y="229" width="0.3" height="15.0" fill="rgb(240,156,31)" rx="2" ry="2" />
<text x="49.36" y="239.5" ></text>
</g>
<g >
<title>zfs`zio_done (25 samples, 0.01%)</title><rect x="48.2" y="213" width="0.1" height="15.0" fill="rgb(245,168,26)" rx="2" ry="2" />
<text x="51.20" y="223.5" ></text>
</g>
<g >
<title>genunix`thread_lock (43 samples, 0.02%)</title><rect x="1186.4" y="213" width="0.2" height="15.0" fill="rgb(222,67,35)" rx="2" ry="2" />
<text x="1189.37" y="223.5" ></text>
</g>
<g >
<title>zfs`dmu_objset_hold_flags (26 samples, 0.01%)</title><rect x="44.6" y="133" width="0.1" height="15.0" fill="rgb(235,60,10)" rx="2" ry="2" />
<text x="47.58" y="143.5" ></text>
</g>
<g >
<title>unix`ddi_get32 (211 samples, 0.09%)</title><rect x="28.2" y="69" width="1.0" height="15.0" fill="rgb(207,64,44)" rx="2" ry="2" />
<text x="31.15" y="79.5" ></text>
</g>
<g >
<title>zfs`zfsdev_ioctl (180 samples, 0.08%)</title><rect x="44.6" y="181" width="0.8" height="15.0" fill="rgb(238,145,25)" rx="2" ry="2" />
<text x="47.55" y="191.5" ></text>
</g>
<g >
<title>genunix`gethrtime (161 samples, 0.07%)</title><rect x="10.2" y="101" width="0.8" height="15.0" fill="rgb(247,212,32)" rx="2" ry="2" />
<text x="13.16" y="111.5" ></text>
</g>
<g >
<title>unix`i86_mwait (19,358 samples, 8.10%)</title><rect x="1090.1" y="181" width="95.6" height="15.0" fill="rgb(216,57,9)" rx="2" ry="2" />
<text x="1093.09" y="191.5" >unix`i86_mw..</text>
</g>
<g >
<title>genunix`as_fault (30 samples, 0.01%)</title><rect x="45.7" y="213" width="0.2" height="15.0" fill="rgb(226,54,42)" rx="2" ry="2" />
<text x="48.72" y="223.5" ></text>
</g>
<g >
<title>all (239,043 samples, 100%)</title><rect x="10.0" y="277" width="1180.0" height="15.0" fill="rgb(239,143,41)" rx="2" ry="2" />
<text x="13.00" y="287.5" ></text>
</g>
<g >
<title>acpica`AcpiPsParseAml (32 samples, 0.01%)</title><rect x="47.4" y="53" width="0.2" height="15.0" fill="rgb(225,220,28)" rx="2" ry="2" />
<text x="50.42" y="63.5" ></text>
</g>
<g >
<title>zfs`zfs_ioc_dataset_list_next (58 samples, 0.02%)</title><rect x="44.6" y="165" width="0.3" height="15.0" fill="rgb(238,107,18)" rx="2" ry="2" />
<text x="47.57" y="175.5" ></text>
</g>
<g >
<title>genunix`ioctl (7,163 samples, 3.00%)</title><rect x="10.1" y="245" width="35.3" height="15.0" fill="rgb(252,113,20)" rx="2" ry="2" />
<text x="13.08" y="255.5" >ge..</text>
</g>
<g >
<title>unix`cmntrap_pushed (44 samples, 0.02%)</title><rect x="45.7" y="261" width="0.2" height="15.0" fill="rgb(248,111,16)" rx="2" ry="2" />
<text x="48.66" y="271.5" ></text>
</g>
<g >
<title>genunix`periodic_execute (37 samples, 0.02%)</title><rect x="47.8" y="229" width="0.2" height="15.0" fill="rgb(224,144,50)" rx="2" ry="2" />
<text x="50.78" y="239.5" ></text>
</g>
<g >
<title>genunix`disp_lock_exit (43 samples, 0.02%)</title><rect x="1186.7" y="213" width="0.2" height="15.0" fill="rgb(251,195,45)" rx="2" ry="2" />
<text x="1189.65" y="223.5" ></text>
</g>
<g >
<title>genunix`fsflush (48 samples, 0.02%)</title><rect x="46.9" y="245" width="0.2" height="15.0" fill="rgb(225,0,53)" rx="2" ry="2" />
<text x="49.89" y="255.5" ></text>
</g>
<g >
<title>apix`apix_dispatch_by_vector (90 samples, 0.04%)</title><rect x="45.9" y="229" width="0.4" height="15.0" fill="rgb(241,129,41)" rx="2" ry="2" />
<text x="48.88" y="239.5" ></text>
</g>
<g >
<title>genunix`callout_realtime (32 samples, 0.01%)</title><rect x="46.4" y="181" width="0.2" height="15.0" fill="rgb(216,199,3)" rx="2" ry="2" />
<text x="49.45" y="191.5" ></text>
</g>
<g >
<title>genunix`gethrtime (86 samples, 0.04%)</title><rect x="29.2" y="53" width="0.4" height="15.0" fill="rgb(239,32,34)" rx="2" ry="2" />
<text x="32.22" y="63.5" ></text>
</g>
<g >
<title>specfs`spec_ioctl (7,160 samples, 3.00%)</title><rect x="10.1" y="213" width="35.3" height="15.0" fill="rgb(245,60,29)" rx="2" ry="2" />
<text x="13.10" y="223.5" >sp..</text>
</g>
<g >
<title>unix`do_splx (42 samples, 0.02%)</title><rect x="1186.7" y="197" width="0.2" height="15.0" fill="rgb(250,127,0)" rx="2" ry="2" />
<text x="1189.66" y="207.5" ></text>
</g>
<g >
<title>zfs`dmu_objset_open_impl (21 samples, 0.01%)</title><rect x="44.6" y="101" width="0.1" height="15.0" fill="rgb(244,60,8)" rx="2" ry="2" />
<text x="47.58" y="111.5" ></text>
</g>
<g >
<title>zfs`l2arc_write_buffers (48 samples, 0.02%)</title><rect x="1189.7" y="229" width="0.2" height="15.0" fill="rgb(225,178,11)" rx="2" ry="2" />
<text x="1192.70" y="239.5" ></text>
</g>
<g >
<title>unix`cpu_idle_mwait (19,361 samples, 8.10%)</title><rect x="1090.1" y="197" width="95.6" height="15.0" fill="rgb(228,166,38)" rx="2" ry="2" />
<text x="1093.08" y="207.5" >unix`cpu_id..</text>
</g>
<g >
<title>unix`drv_usecwait (1,268 samples, 0.53%)</title><rect x="21.8" y="101" width="6.2" height="15.0" fill="rgb(230,178,19)" rx="2" ry="2" />
<text x="24.76" y="111.5" ></text>
</g>
<g >
<title>unix`scan_memory (504 samples, 0.21%)</title><rect x="1187.1" y="245" width="2.5" height="15.0" fill="rgb(227,176,54)" rx="2" ry="2" />
<text x="1190.13" y="255.5" ></text>
</g>
<g >
<title>unix`drv_usecwait (138 samples, 0.06%)</title><rect x="29.2" y="69" width="0.7" height="15.0" fill="rgb(252,69,21)" rx="2" ry="2" />
<text x="32.19" y="79.5" ></text>
</g>
<g >
<title>bge`bge_intr (66 samples, 0.03%)</title><rect x="45.9" y="213" width="0.3" height="15.0" fill="rgb(230,185,18)" rx="2" ry="2" />
<text x="48.91" y="223.5" ></text>
</g>
<g >
<title>genunix`fop_ioctl (7,163 samples, 3.00%)</title><rect x="10.1" y="229" width="35.3" height="15.0" fill="rgb(216,227,25)" rx="2" ry="2" />
<text x="13.08" y="239.5" >ge..</text>
</g>
<g >
<title>acpi_drv`acpi_drv_cbat_rescan (59 samples, 0.02%)</title><rect x="47.3" y="181" width="0.3" height="15.0" fill="rgb(247,18,1)" rx="2" ry="2" />
<text x="50.32" y="191.5" ></text>
</g>
<g >
<title>genunix`callout_list_expire (119 samples, 0.05%)</title><rect x="47.2" y="197" width="0.6" height="15.0" fill="rgb(254,208,13)" rx="2" ry="2" />
<text x="50.18" y="207.5" ></text>
</g>
<g >
<title>zfs`multilist_sublist_next (39 samples, 0.02%)</title><rect x="1189.7" y="213" width="0.2" height="15.0" fill="rgb(242,130,8)" rx="2" ry="2" />
<text x="1192.74" y="223.5" ></text>
</g>
<g >
<title>genunix`cdev_ioctl (7,160 samples, 3.00%)</title><rect x="10.1" y="197" width="35.3" height="15.0" fill="rgb(223,157,52)" rx="2" ry="2" />
<text x="13.10" y="207.5" >ge..</text>
</g>
<g >
<title>unix`acpi_cpu_cstate (210,942 samples, 88.24%)</title><rect x="48.8" y="197" width="1041.3" height="15.0" fill="rgb(250,186,45)" rx="2" ry="2" />
<text x="51.78" y="207.5" >unix`acpi_cpu_cstate</text>
</g>
<g >
<title>mac`mac_stat_get (3,311 samples, 1.39%)</title><rect x="28.1" y="133" width="16.3" height="15.0" fill="rgb(244,51,13)" rx="2" ry="2" />
<text x="31.09" y="143.5" ></text>
</g>
<g >
<title>acpica`AcpiNsWalkNamespace (59 samples, 0.02%)</title><rect x="47.3" y="149" width="0.3" height="15.0" fill="rgb(207,213,49)" rx="2" ry="2" />
<text x="50.32" y="159.5" ></text>
</g>
<g >
<title>unix`trap (38 samples, 0.02%)</title><rect x="45.7" y="245" width="0.2" height="15.0" fill="rgb(206,97,14)" rx="2" ry="2" />
<text x="48.69" y="255.5" ></text>
</g>
<g >
<title>unix`cbe_low_level (37 samples, 0.02%)</title><rect x="46.4" y="213" width="0.2" height="15.0" fill="rgb(237,139,31)" rx="2" ry="2" />
<text x="49.43" y="223.5" ></text>
</g>
<g >
<title>genunix`disp_lock_exit (43 samples, 0.02%)</title><rect x="1186.2" y="213" width="0.2" height="15.0" fill="rgb(222,107,15)" rx="2" ry="2" />
<text x="1189.15" y="223.5" ></text>
</g>
<g >
<title>acpica`AcpiGetDevices (59 samples, 0.02%)</title><rect x="47.3" y="165" width="0.3" height="15.0" fill="rgb(216,228,35)" rx="2" ry="2" />
<text x="50.32" y="175.5" ></text>
</g>
<g >
<title>bge`bge_mii_get16 (360 samples, 0.15%)</title><rect x="28.1" y="101" width="1.8" height="15.0" fill="rgb(212,85,26)" rx="2" ry="2" />
<text x="31.10" y="111.5" ></text>
</g>
<g >
<title>zfs`vdev_config_generate (23 samples, 0.01%)</title><rect x="45.0" y="85" width="0.2" height="15.0" fill="rgb(230,63,46)" rx="2" ry="2" />
<text x="48.04" y="95.5" ></text>
</g>
<g >
<title>unix`cpu_idle_adaptive (230,333 samples, 96.36%)</title><rect x="48.7" y="229" width="1137.0" height="15.0" fill="rgb(241,41,38)" rx="2" ry="2" />
<text x="51.70" y="239.5" >unix`cpu_idle_adaptive</text>
</g>
<g >
<title>bge`bge_phydata_update (3,619 samples, 1.51%)</title><rect x="10.2" y="149" width="17.8" height="15.0" fill="rgb(234,39,0)" rx="2" ry="2" />
<text x="13.16" y="159.5" ></text>
</g>
<g >
<title>apix`apix_dispatch_lowlevel (90 samples, 0.04%)</title><rect x="45.9" y="245" width="0.4" height="15.0" fill="rgb(223,117,40)" rx="2" ry="2" />
<text x="48.88" y="255.5" ></text>
</g>
<g >
<title>zfs`zfs_ioc_objset_stats (31 samples, 0.01%)</title><rect x="44.7" y="149" width="0.2" height="15.0" fill="rgb(228,202,17)" rx="2" ry="2" />
<text x="47.71" y="159.5" ></text>
</g>
<g >
<title>unix`tsc_gethrtime (266 samples, 0.11%)</title><rect x="26.7" y="85" width="1.3" height="15.0" fill="rgb(232,170,41)" rx="2" ry="2" />
<text x="29.71" y="95.5" ></text>
</g>
<g >
<title>genunix`callout_execute (122 samples, 0.05%)</title><rect x="47.2" y="229" width="0.6" height="15.0" fill="rgb(254,159,12)" rx="2" ry="2" />
<text x="50.16" y="239.5" ></text>
</g>
<g >
<title>unix`tsc_read (57 samples, 0.02%)</title><rect x="29.4" y="37" width="0.2" height="15.0" fill="rgb(246,195,50)" rx="2" ry="2" />
<text x="32.37" y="47.5" ></text>
</g>
<g >
<title>unix`mul32 (109 samples, 0.05%)</title><rect x="22.2" y="69" width="0.5" height="15.0" fill="rgb(237,198,7)" rx="2" ry="2" />
<text x="25.19" y="79.5" ></text>
</g>
<g >
<title>unix`mutex_vector_enter (61 samples, 0.03%)</title><rect x="45.9" y="197" width="0.3" height="15.0" fill="rgb(217,22,16)" rx="2" ry="2" />
<text x="48.93" y="207.5" ></text>
</g>
<g >
<title>zfs`spa_get_stats (56 samples, 0.02%)</title><rect x="44.9" y="149" width="0.3" height="15.0" fill="rgb(226,138,54)" rx="2" ry="2" />
<text x="47.90" y="159.5" ></text>
</g>
<g >
<title>apix`apix_dispatch_softint (68 samples, 0.03%)</title><rect x="46.3" y="245" width="0.4" height="15.0" fill="rgb(234,32,5)" rx="2" ry="2" />
<text x="49.34" y="255.5" ></text>
</g>
<g >
<title>fasttrap`fasttrap_pid_cleanup_cb (24 samples, 0.01%)</title><rect x="47.6" y="181" width="0.2" height="15.0" fill="rgb(231,150,7)" rx="2" ry="2" />
<text x="50.63" y="191.5" ></text>
</g>
<g >
<title>unix`cpu_acpi_idle (230,328 samples, 96.35%)</title><rect x="48.7" y="213" width="1137.0" height="15.0" fill="rgb(239,36,4)" rx="2" ry="2" />
<text x="51.73" y="223.5" >unix`cpu_acpi_idle</text>
</g>
<g >
<title>genunix`list_next (39 samples, 0.02%)</title><rect x="1189.7" y="197" width="0.2" height="15.0" fill="rgb(224,86,20)" rx="2" ry="2" />
<text x="1192.74" y="207.5" ></text>
</g>
<g >
<title>zfs`zfs_ioc_objset_stats_impl (32 samples, 0.01%)</title><rect x="45.3" y="149" width="0.1" height="15.0" fill="rgb(223,167,24)" rx="2" ry="2" />
<text x="48.29" y="159.5" ></text>
</g>
<g >
<title>zfs`spa_config_generate (50 samples, 0.02%)</title><rect x="44.9" y="117" width="0.3" height="15.0" fill="rgb(248,39,46)" rx="2" ry="2" />
<text x="47.93" y="127.5" ></text>
</g>
<g >
<title>unix`tsc_gethrtime (188 samples, 0.08%)</title><rect x="22.7" y="69" width="1.0" height="15.0" fill="rgb(207,100,19)" rx="2" ry="2" />
<text x="25.73" y="79.5" ></text>
</g>
<g >
<title>zfs`vdev_config_generate (38 samples, 0.02%)</title><rect x="45.0" y="101" width="0.2" height="15.0" fill="rgb(222,187,41)" rx="2" ry="2" />
<text x="47.99" y="111.5" ></text>
</g>
<g >
<title>unix`switch_sp_and_call (161 samples, 0.07%)</title><rect x="45.9" y="261" width="0.8" height="15.0" fill="rgb(217,170,46)" rx="2" ry="2" />
<text x="48.88" y="271.5" ></text>
</g>
<g >
<title>unix`memscrubber (215 samples, 0.09%)</title><rect x="1186.1" y="245" width="1.0" height="15.0" fill="rgb(221,138,43)" rx="2" ry="2" />
<text x="1189.06" y="255.5" ></text>
</g>
<g >
<title>unix`thread_start (231,569 samples, 96.87%)</title><rect x="46.9" y="261" width="1143.1" height="15.0" fill="rgb(229,148,3)" rx="2" ry="2" />
<text x="49.89" y="271.5" >unix`thread_start</text>
</g>
<g >
<title>unix`mutex_vector_enter (33 samples, 0.01%)</title><rect x="47.8" y="197" width="0.2" height="15.0" fill="rgb(248,13,23)" rx="2" ry="2" />
<text x="50.80" y="207.5" ></text>
</g>
<g >
<title>genunix`callout_expire (122 samples, 0.05%)</title><rect x="47.2" y="213" width="0.6" height="15.0" fill="rgb(240,102,17)" rx="2" ry="2" />
<text x="50.16" y="223.5" ></text>
</g>
<g >
<title>unix`__x86_indirect_thunk_rax (76 samples, 0.03%)</title><rect x="26.3" y="85" width="0.4" height="15.0" fill="rgb(253,74,21)" rx="2" ry="2" />
<text x="29.33" y="95.5" ></text>
</g>
<g >
<title>acpica`AcpiUtEvaluateObject (49 samples, 0.02%)</title><rect x="47.4" y="101" width="0.2" height="15.0" fill="rgb(237,140,12)" rx="2" ry="2" />
<text x="50.36" y="111.5" ></text>
</g>
<g >
<title>genunix`cv_wait (30 samples, 0.01%)</title><rect x="48.0" y="213" width="0.1" height="15.0" fill="rgb(252,149,22)" rx="2" ry="2" />
<text x="50.97" y="223.5" ></text>
</g>
<g >
<title>acpica`AcpiPsParseLoop (26 samples, 0.01%)</title><rect x="47.4" y="37" width="0.2" height="15.0" fill="rgb(243,153,37)" rx="2" ry="2" />
<text x="50.45" y="47.5" ></text>
</g>
<g >
<title>genunix`gethrtime (840 samples, 0.35%)</title><rect x="22.2" y="85" width="4.1" height="15.0" fill="rgb(244,105,53)" rx="2" ry="2" />
<text x="25.19" y="95.5" ></text>
</g>
<g >
<title>zfs`zfs_ioc_snapshot_list_next (54 samples, 0.02%)</title><rect x="45.2" y="165" width="0.2" height="15.0" fill="rgb(250,99,36)" rx="2" ry="2" />
<text x="48.18" y="175.5" ></text>
</g>
<g >
<title>unix`sys_syscall (39 samples, 0.02%)</title><rect x="46.7" y="261" width="0.2" height="15.0" fill="rgb(231,145,49)" rx="2" ry="2" />
<text x="49.70" y="271.5" ></text>
</g>
<g >
<title>unix`ddi_get32 (2,190 samples, 0.92%)</title><rect x="11.0" y="101" width="10.8" height="15.0" fill="rgb(213,201,19)" rx="2" ry="2" />
<text x="13.95" y="111.5" ></text>
</g>
<g >
<title>unix`splr (34 samples, 0.01%)</title><rect x="1186.9" y="197" width="0.2" height="15.0" fill="rgb(205,4,16)" rx="2" ry="2" />
<text x="1189.91" y="207.5" ></text>
</g>
<g >
<title>unix`mutex_delay_default (33 samples, 0.01%)</title><rect x="46.0" y="181" width="0.2" height="15.0" fill="rgb(205,118,50)" rx="2" ry="2" />
<text x="49.03" y="191.5" ></text>
</g>
<g >
<title>genunix`segvn_fault (25 samples, 0.01%)</title><rect x="45.7" y="197" width="0.2" height="15.0" fill="rgb(229,210,34)" rx="2" ry="2" />
<text x="48.75" y="207.5" ></text>
</g>
<g >
<title>genunix`thread_lock (43 samples, 0.02%)</title><rect x="1186.9" y="213" width="0.2" height="15.0" fill="rgb(216,104,32)" rx="2" ry="2" />
<text x="1189.87" y="223.5" ></text>
</g>
<g >
<title>kstat`kstat_ioctl (6,980 samples, 2.92%)</title><rect x="10.1" y="181" width="34.5" height="15.0" fill="rgb(236,183,10)" rx="2" ry="2" />
<text x="13.10" y="191.5" >ks..</text>
</g>
<g >
<title>bge`bge_chip_cyclic (37 samples, 0.02%)</title><rect x="47.8" y="213" width="0.2" height="15.0" fill="rgb(206,128,39)" rx="2" ry="2" />
<text x="50.78" y="223.5" ></text>
</g>
<g >
<title>TS`ts_update (22 samples, 0.01%)</title><rect x="47.2" y="181" width="0.1" height="15.0" fill="rgb(241,86,35)" rx="2" ry="2" />
<text x="50.22" y="191.5" ></text>
</g>
<g >
<title>dtrace`dtrace_unregister (24 samples, 0.01%)</title><rect x="47.6" y="165" width="0.2" height="15.0" fill="rgb(220,111,9)" rx="2" ry="2" />
<text x="50.63" y="175.5" ></text>
</g>
<g >
<title>unix`do_splx (42 samples, 0.02%)</title><rect x="1186.2" y="197" width="0.2" height="15.0" fill="rgb(220,3,47)" rx="2" ry="2" />
<text x="1189.16" y="207.5" ></text>
</g>
<g >
<title>zfs`zio_execute (81 samples, 0.03%)</title><rect x="48.2" y="229" width="0.4" height="15.0" fill="rgb(225,206,7)" rx="2" ry="2" />
<text x="51.19" y="239.5" ></text>
</g>
<g >
<title>bge`bge_mii_access (360 samples, 0.15%)</title><rect x="28.1" y="85" width="1.8" height="15.0" fill="rgb(251,91,52)" rx="2" ry="2" />
<text x="31.10" y="95.5" ></text>
</g>
<g >
<title>genunix`taskq_thread_wait (33 samples, 0.01%)</title><rect x="48.0" y="229" width="0.1" height="15.0" fill="rgb(246,215,7)" rx="2" ry="2" />
<text x="50.96" y="239.5" ></text>
</g>
<g >
<title>unix`_sys_sysenter_post_swapgs (7,211 samples, 3.02%)</title><rect x="10.1" y="261" width="35.6" height="15.0" fill="rgb(238,58,7)" rx="2" ry="2" />
<text x="13.06" y="271.5" >uni..</text>
</g>
<g >
<title>unix`swtch (48 samples, 0.02%)</title><rect x="1185.8" y="229" width="0.2" height="15.0" fill="rgb(237,54,50)" rx="2" ry="2" />
<text x="1188.80" y="239.5" ></text>
</g>
<g >
<title>acpica`AcpiUtExecute_HID (52 samples, 0.02%)</title><rect x="47.4" y="117" width="0.2" height="15.0" fill="rgb(230,25,38)" rx="2" ry="2" />
<text x="50.35" y="127.5" ></text>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment