Skip to content

Instantly share code, notes, and snippets.

@misha354
Created January 22, 2019 16:40
Show Gist options
  • Save misha354/c4edbf2b04818fbc89ac93cb58a6e9e4 to your computer and use it in GitHub Desktop.
Save misha354/c4edbf2b04818fbc89ac93cb58a6e9e4 to your computer and use it in GitHub Desktop.
offcpuflamegraph
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="246" onload="init(evt)" viewBox="0 0 1200 246" 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="#f8f8f8" offset="5%" />
<stop stop-color="#e8e8e8" offset="95%" />
</linearGradient>
</defs>
<style type="text/css">
.func_g:hover { stroke:black; stroke-width:0.5; cursor:pointer; }
</style>
<script type="text/ecmascript">
<![CDATA[
var details, searchbtn, matchedtxt, svg;
function init(evt) {
details = document.getElementById("details").firstChild;
searchbtn = document.getElementById("search");
matchedtxt = document.getElementById("matched");
svg = document.getElementsByTagName("svg")[0];
searching = 0;
}
// mouse-over for info
function s(node) { // show
info = g_to_text(node);
details.nodeValue = "Function: " + info;
}
function c() { // clear
details.nodeValue = ' ';
}
// ctrl-F for search
window.addEventListener("keydown",function (e) {
if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) {
e.preventDefault();
search_prompt();
}
})
// functions
function find_child(parent, name, attr) {
var children = parent.childNodes;
for (var i=0; i<children.length;i++) {
if (children[i].tagName == name)
return (attr != undefined) ? children[i].attributes[attr].value : children[i];
}
return;
}
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") + 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;
var unzoombtn = document.getElementById("unzoom");
unzoombtn.style["opacity"] = "1.0";
var el = document.getElementsByTagName("g");
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);
// Is it an ancestor
if (0 == 0) {
var upstack = parseFloat(a["y"].value) > ymin;
} else {
var upstack = parseFloat(a["y"].value) < ymin;
}
if (upstack) {
// Direct ancestor
if (ex <= xmin && (ex+ew+fudge) >= xmax) {
e.style["opacity"] = "0.5";
zoom_parent(e);
e.onclick = function(e){unzoom(); zoom(this);};
update_text(e);
}
// not in current path
else
e.style["display"] = "none";
}
// Children maybe
else {
// no common path
if (ex < xmin || ex + fudge >= xmax) {
e.style["display"] = "none";
}
else {
zoom_child(e, xmin, ratio);
e.onclick = function(e){zoom(this);};
update_text(e);
}
}
}
}
function unzoom() {
var unzoombtn = document.getElementById("unzoom");
unzoombtn.style["opacity"] = "0.0";
var el = document.getElementsByTagName("g");
for(i=0;i<el.length;i++) {
el[i].style["display"] = "block";
el[i].style["opacity"] = "1";
zoom_reset(el[i]);
update_text(el[i]);
}
}
// search
function reset_search() {
var el = document.getElementsByTagName("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_)", "");
if (term != null) {
search(term)
}
} else {
reset_search();
searching = 0;
searchbtn.style["opacity"] = "0.1";
searchbtn.firstChild.nodeValue = "Search"
matchedtxt.style["opacity"] = "0.0";
matchedtxt.firstChild.nodeValue = ""
}
}
function search(term) {
var re = new RegExp(term);
var el = document.getElementsByTagName("g");
var matches = new Object();
var maxwidth = 0;
for (var i = 0; i < el.length; i++) {
var e = el[i];
if (e.attributes["class"].value != "func_g")
continue;
var func = g_to_func(e);
var rect = find_child(e, "rect");
if (rect == null) {
// the rect might be wrapped in an anchor
// if nameattr href is being used
if (rect = find_child(e, "a")) {
rect = find_child(r, "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.style["opacity"] = "1.0";
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.style["opacity"] = "1.0";
pct = 100 * count / maxwidth;
if (pct == 100)
pct = "100"
else
pct = pct.toFixed(1)
matchedtxt.firstChild.nodeValue = "Matched: " + pct + "%";
}
function searchover(e) {
searchbtn.style["opacity"] = "1.0";
}
function searchout(e) {
if (searching) {
searchbtn.style["opacity"] = "1.0";
} else {
searchbtn.style["opacity"] = "0.1";
}
}
]]>
</script>
<rect x="0.0" y="0" width="1200.0" height="246.0" fill="url(#background)" />
<text text-anchor="middle" x="600.00" y="24" font-size="17" font-family="Verdana" fill="rgb(0,0,0)" >Off-CPU Time Flame Graph</text>
<text text-anchor="" x="10.00" y="229" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" id="details" > </text>
<text text-anchor="" x="10.00" y="24" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" id="unzoom" onclick="unzoom()" style="opacity:0.0;cursor:pointer" >Reset Zoom</text>
<text text-anchor="" x="1090.00" y="24" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" id="search" onmouseover="searchover()" onmouseout="searchout()" onclick="search_prompt()" style="opacity:0.1;cursor:pointer" >Search</text>
<text text-anchor="" x="1090.00" y="229" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" id="matched" > </text>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__schedule (2,778 ms, 12.42%)</title><rect x="98.8" y="37" width="146.5" height="15.0" fill="rgb(124,124,213)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="47.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >__schedule</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>pthread_cond_wait@@GLIBC_2.3.2 (17,516 ms, 78.28%)</title><rect x="266.3" y="165" width="923.7" height="15.0" fill="rgb(101,101,229)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="175.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >pthread_cond_wait@@GLIBC_2.3.2</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>named (22,376 ms, 100.00%)</title><rect x="10.0" y="181" width="1180.0" height="15.0" fill="rgb(104,104,238)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="191.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >named</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__lll_lock_wait (68 ms, 0.30%)</title><rect x="266.3" y="149" width="3.6" height="15.0" fill="rgb(113,113,209)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="159.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__lll_lock_wait (2,778 ms, 12.42%)</title><rect x="98.8" y="149" width="146.5" height="15.0" fill="rgb(128,128,190)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="159.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >__lll_lock_wait</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>sys_futex (17,448 ms, 77.98%)</title><rect x="269.9" y="133" width="920.1" height="15.0" fill="rgb(132,132,203)" rx="2" ry="2" />
<text text-anchor="" x="272.88" y="143.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >sys_futex</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__schedule (17,443 ms, 77.95%)</title><rect x="270.1" y="53" width="919.9" height="15.0" fill="rgb(99,99,236)" rx="2" ry="2" />
<text text-anchor="" x="273.14" y="63.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >__schedule</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>schedule (68 ms, 0.30%)</title><rect x="266.3" y="53" width="3.6" height="15.0" fill="rgb(121,121,214)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="63.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>sys_futex (2,778 ms, 12.42%)</title><rect x="98.8" y="117" width="146.5" height="15.0" fill="rgb(112,112,236)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="127.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >sys_futex</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>_L_cond_lock_1079 (1,683 ms, 7.52%)</title><rect x="10.0" y="165" width="88.8" height="15.0" fill="rgb(102,102,210)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="175.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >_L_cond_lo..</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>entry_SYSCALL_64_fastpath (399 ms, 1.78%)</title><rect x="245.3" y="149" width="21.0" height="15.0" fill="rgb(110,110,213)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="159.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>_L_lock_1081 (2,778 ms, 12.42%)</title><rect x="98.8" y="165" width="146.5" height="15.0" fill="rgb(125,125,193)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="175.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >_L_lock_1081</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>schedule (2,778 ms, 12.42%)</title><rect x="98.8" y="53" width="146.5" height="15.0" fill="rgb(136,136,223)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="63.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >schedule</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>entry_SYSCALL_64_fastpath (2,778 ms, 12.42%)</title><rect x="98.8" y="133" width="146.5" height="15.0" fill="rgb(100,100,227)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="143.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >entry_SYSCALL_64_f..</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>entry_SYSCALL_64_fastpath (68 ms, 0.30%)</title><rect x="266.3" y="133" width="3.6" height="15.0" fill="rgb(104,104,227)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="143.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>schedule (1,683 ms, 7.52%)</title><rect x="10.0" y="53" width="88.8" height="15.0" fill="rgb(139,139,234)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="63.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >schedule</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait_queue_me (68 ms, 0.30%)</title><rect x="266.3" y="69" width="3.6" height="15.0" fill="rgb(139,139,236)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="79.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__schedule (68 ms, 0.30%)</title><rect x="266.3" y="37" width="3.6" height="15.0" fill="rgb(118,118,241)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="47.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>all (22,376 ms, 100%)</title><rect x="10.0" y="197" width="1180.0" height="15.0" fill="rgb(132,132,199)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="207.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>do_futex (17,448 ms, 77.98%)</title><rect x="269.9" y="117" width="920.1" height="15.0" fill="rgb(108,108,195)" rx="2" ry="2" />
<text text-anchor="" x="272.88" y="127.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >do_futex</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait (68 ms, 0.30%)</title><rect x="266.3" y="85" width="3.6" height="15.0" fill="rgb(127,127,231)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="95.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__lll_lock_wait (1,683 ms, 7.52%)</title><rect x="10.0" y="149" width="88.8" height="15.0" fill="rgb(91,91,218)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="159.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >__lll_lock..</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait_queue_me (17,443 ms, 77.95%)</title><rect x="270.1" y="85" width="919.9" height="15.0" fill="rgb(105,105,199)" rx="2" ry="2" />
<text text-anchor="" x="273.14" y="95.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >futex_wait_queue_me</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>pthread_cond_timedwait@@GLIBC_2.3.2 (399 ms, 1.78%)</title><rect x="245.3" y="165" width="21.0" height="15.0" fill="rgb(85,85,204)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="175.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait (17,448 ms, 77.98%)</title><rect x="269.9" y="101" width="920.1" height="15.0" fill="rgb(80,80,216)" rx="2" ry="2" />
<text text-anchor="" x="272.88" y="111.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >futex_wait</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>sys_futex (399 ms, 1.78%)</title><rect x="245.3" y="133" width="21.0" height="15.0" fill="rgb(108,108,227)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="143.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>entry_SYSCALL_64_fastpath (17,448 ms, 77.98%)</title><rect x="269.9" y="149" width="920.1" height="15.0" fill="rgb(108,108,214)" rx="2" ry="2" />
<text text-anchor="" x="272.88" y="159.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >entry_SYSCALL_64_fastpath</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__schedule (399 ms, 1.78%)</title><rect x="245.3" y="53" width="21.0" height="15.0" fill="rgb(103,103,228)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="63.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>do_futex (68 ms, 0.30%)</title><rect x="266.3" y="101" width="3.6" height="15.0" fill="rgb(117,117,207)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="111.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait (1,683 ms, 7.52%)</title><rect x="10.0" y="85" width="88.8" height="15.0" fill="rgb(120,120,210)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="95.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >futex_wait</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>schedule (399 ms, 1.78%)</title><rect x="245.3" y="69" width="21.0" height="15.0" fill="rgb(104,104,220)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="79.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>do_futex (1,683 ms, 7.52%)</title><rect x="10.0" y="101" width="88.8" height="15.0" fill="rgb(91,91,198)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="111.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >do_futex</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait_queue_me (2,778 ms, 12.42%)</title><rect x="98.8" y="69" width="146.5" height="15.0" fill="rgb(85,85,193)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="79.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >futex_wait_queue_me</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>entry_SYSCALL_64_fastpath (1,683 ms, 7.52%)</title><rect x="10.0" y="133" width="88.8" height="15.0" fill="rgb(128,128,212)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="143.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >entry_SYSC..</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>sys_futex (68 ms, 0.30%)</title><rect x="266.3" y="117" width="3.6" height="15.0" fill="rgb(136,136,222)" rx="2" ry="2" />
<text text-anchor="" x="269.29" y="127.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait_queue_me (1,683 ms, 7.52%)</title><rect x="10.0" y="69" width="88.8" height="15.0" fill="rgb(86,86,210)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="79.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >futex_wait..</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>__schedule (1,683 ms, 7.52%)</title><rect x="10.0" y="37" width="88.8" height="15.0" fill="rgb(136,136,209)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="47.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >__schedule</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>sys_futex (1,683 ms, 7.52%)</title><rect x="10.0" y="117" width="88.8" height="15.0" fill="rgb(128,128,215)" rx="2" ry="2" />
<text text-anchor="" x="13.00" y="127.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >sys_futex</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait (2,778 ms, 12.42%)</title><rect x="98.8" y="85" width="146.5" height="15.0" fill="rgb(103,103,226)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="95.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >futex_wait</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>schedule (17,443 ms, 77.95%)</title><rect x="270.1" y="69" width="919.9" height="15.0" fill="rgb(136,136,204)" rx="2" ry="2" />
<text text-anchor="" x="273.14" y="79.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >schedule</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait_queue_me (399 ms, 1.78%)</title><rect x="245.3" y="85" width="21.0" height="15.0" fill="rgb(113,113,240)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="95.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>do_futex (2,778 ms, 12.42%)</title><rect x="98.8" y="101" width="146.5" height="15.0" fill="rgb(88,88,210)" rx="2" ry="2" />
<text text-anchor="" x="101.75" y="111.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" >do_futex</text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>do_futex (399 ms, 1.78%)</title><rect x="245.3" y="117" width="21.0" height="15.0" fill="rgb(109,109,213)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="127.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
<g class="func_g" onmouseover="s(this)" onmouseout="c()" onclick="zoom(this)">
<title>futex_wait (399 ms, 1.78%)</title><rect x="245.3" y="101" width="21.0" height="15.0" fill="rgb(112,112,193)" rx="2" ry="2" />
<text text-anchor="" x="248.25" y="111.5" font-size="12" font-family="Verdana" fill="rgb(0,0,0)" ></text>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment