Created
March 5, 2026 14:41
-
-
Save sekkr1/4ba84d4e0b208db31d8752869dbe6b04 to your computer and use it in GitHub Desktop.
CRIU maps04 restore flamegraph (this-branch, multi-NUMA)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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="518" onload="init(evt)" viewBox="0 0 1200 518" 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; | |
| // use GET parameters to restore a flamegraphs state. | |
| var params = get_params(); | |
| if (params.x && params.y) | |
| zoom(find_group(document.querySelector('[x="' + params.x + '"][y="' + params.y + '"]'))); | |
| if (params.s) search(params.s); | |
| } | |
| // event listeners | |
| 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(true); | |
| zoom(target); | |
| if (!document.querySelector('.parent')) { | |
| // we have basically done a clearzoom so clear the url | |
| var params = get_params(); | |
| if (params.x) delete params.x; | |
| if (params.y) delete params.y; | |
| history.replaceState(null, null, parse_params(params)); | |
| unzoombtn.classList.add("hide"); | |
| return; | |
| } | |
| // set parameters for zoom state | |
| var el = target.querySelector("rect"); | |
| if (el && el.attributes && el.attributes.y && el.attributes._orig_x) { | |
| var params = get_params() | |
| params.x = el.attributes._orig_x.value; | |
| params.y = el.attributes.y.value; | |
| history.replaceState(null, null, parse_params(params)); | |
| } | |
| } | |
| else if (e.target.id == "unzoom") clearzoom(); | |
| 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 | |
| // ctrl-I to toggle case-sensitive search | |
| window.addEventListener("keydown",function (e) { | |
| if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) { | |
| e.preventDefault(); | |
| search_prompt(); | |
| } | |
| else if (e.ctrlKey && e.keyCode === 73) { | |
| e.preventDefault(); | |
| toggle_ignorecase(); | |
| } | |
| }, false) | |
| // functions | |
| function get_params() { | |
| var params = {}; | |
| var paramsarr = window.location.search.substr(1).split('&'); | |
| for (var i = 0; i < paramsarr.length; ++i) { | |
| var tmp = paramsarr[i].split("="); | |
| if (!tmp[0] || !tmp[1]) continue; | |
| params[tmp[0]] = decodeURIComponent(tmp[1]); | |
| } | |
| return params; | |
| } | |
| function parse_params(params) { | |
| var uri = "?"; | |
| for (var key in params) { | |
| uri += key + '=' + encodeURIComponent(params[key]) + '&'; | |
| } | |
| if (uri.slice(-1) == "&") | |
| uri = uri.substring(0, uri.length - 1); | |
| if (uri == '?') | |
| uri = window.location.href.split('?')[0]; | |
| return uri; | |
| } | |
| function find_child(node, selector) { | |
| var children = node.querySelectorAll(selector); | |
| if (children.length) return children[0]; | |
| } | |
| 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; | |
| var sl = t.getSubStringLength(0, txt.length); | |
| // check if only whitespace or if we can fit the entire string into width w | |
| if (/^ *$/.test(txt) || sl < w) | |
| return; | |
| // this isn't perfect, but gives a good starting point | |
| // and avoids calling getSubStringLength too often | |
| var start = Math.floor((w/sl) * txt.length); | |
| for (var x = start; x > 0; x = x-2) { | |
| 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(dont_update_text) { | |
| 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]); | |
| if(!dont_update_text) update_text(el[i]); | |
| } | |
| search(); | |
| } | |
| function clearzoom() { | |
| unzoom(); | |
| // remove zoom state | |
| var params = get_params(); | |
| if (params.x) delete params.x; | |
| if (params.y) delete params.y; | |
| history.replaceState(null, null, parse_params(params)); | |
| } | |
| // 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") | |
| } | |
| var params = get_params(); | |
| delete params.s; | |
| history.replaceState(null, null, parse_params(params)); | |
| } | |
| 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) search(term); | |
| } 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 (term) currentSearchTerm = term; | |
| if (currentSearchTerm === null) return; | |
| var re = new RegExp(currentSearchTerm, 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; | |
| var params = get_params(); | |
| params.s = currentSearchTerm; | |
| history.replaceState(null, null, parse_params(params)); | |
| 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="518.0" fill="url(#background)" /> | |
| <text id="title" x="600.00" y="24" >CRIU restore flamegraph (this-branch, maps04, multi-NUMA)</text> | |
| <text id="details" x="10.00" y="501" > </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="501" > </text> | |
| <g id="frames"> | |
| <g > | |
| <title>shmem_get_folio_gfp (40,201,000 samples, 2.27%)</title><rect x="1163.2" y="309" width="26.8" height="15.0" fill="rgb(213,37,8)" rx="2" ry="2" /> | |
| <text x="1166.18" y="319.5" >s..</text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_trylock (20,100,500 samples, 1.14%)</title><rect x="553.1" y="69" width="13.4" height="15.0" fill="rgb(222,80,19)" rx="2" ry="2" /> | |
| <text x="556.07" y="79.5" ></text> | |
| </g> | |
| <g > | |
| <title>copy_process (30,150,750 samples, 1.70%)</title><rect x="20.1" y="325" width="20.1" height="15.0" fill="rgb(233,130,31)" rx="2" ry="2" /> | |
| <text x="23.06" y="335.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_page_from_freelist (10,050,250 samples, 0.57%)</title><rect x="33.5" y="149" width="6.7" height="15.0" fill="rgb(252,218,52)" rx="2" ry="2" /> | |
| <text x="36.47" y="159.5" ></text> | |
| </g> | |
| <g > | |
| <title>[unknown] (1,763,818,875 samples, 99.72%)</title><rect x="13.4" y="437" width="1176.6" height="15.0" fill="rgb(210,24,5)" rx="2" ry="2" /> | |
| <text x="16.35" y="447.5" >[unknown]</text> | |
| </g> | |
| <g > | |
| <title>[libprotobuf-c.so.1.0.0] (5,025,125 samples, 0.28%)</title><rect x="13.4" y="293" width="3.3" height="15.0" fill="rgb(209,19,4)" rx="2" ry="2" /> | |
| <text x="16.35" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>allocate_slab (10,050,250 samples, 0.57%)</title><rect x="33.5" y="181" width="6.7" height="15.0" fill="rgb(242,173,41)" rx="2" ry="2" /> | |
| <text x="36.47" y="191.5" ></text> | |
| </g> | |
| <g > | |
| <title>exc_page_fault (1,547,738,500 samples, 87.50%)</title><rect x="130.7" y="261" width="1032.5" height="15.0" fill="rgb(212,35,8)" rx="2" ry="2" /> | |
| <text x="133.68" y="271.5" >exc_page_fault</text> | |
| </g> | |
| <g > | |
| <title>__alloc_pages (10,050,250 samples, 0.57%)</title><rect x="33.5" y="165" width="6.7" height="15.0" fill="rgb(233,129,30)" rx="2" ry="2" /> | |
| <text x="36.47" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_iter_readv_writev (1,708,542,500 samples, 96.59%)</title><rect x="50.2" y="341" width="1139.8" height="15.0" fill="rgb(221,76,18)" rx="2" ry="2" /> | |
| <text x="53.23" y="351.5" >do_iter_readv_writev</text> | |
| </g> | |
| <g > | |
| <title>__lruvec_stat_mod_folio (5,025,125 samples, 0.28%)</title><rect x="388.8" y="165" width="3.4" height="15.0" fill="rgb(246,191,45)" rx="2" ry="2" /> | |
| <text x="391.81" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_user_addr_fault (5,025,125 samples, 0.28%)</title><rect x="10.0" y="389" width="3.4" height="15.0" fill="rgb(228,108,25)" rx="2" ry="2" /> | |
| <text x="13.00" y="399.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mem_cgroup_charge (55,276,375 samples, 3.12%)</title><rect x="392.2" y="165" width="36.8" height="15.0" fill="rgb(218,60,14)" rx="2" ry="2" /> | |
| <text x="395.16" y="175.5" >__m..</text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_lock (10,050,250 samples, 0.57%)</title><rect x="429.0" y="165" width="6.7" height="15.0" fill="rgb(239,160,38)" rx="2" ry="2" /> | |
| <text x="432.03" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>consume_stock (5,025,125 samples, 0.28%)</title><rect x="422.3" y="133" width="3.4" height="15.0" fill="rgb(237,149,35)" rx="2" ry="2" /> | |
| <text x="425.33" y="143.5" ></text> | |
| </g> | |
| <g > | |
| <title>mas_ascend (5,025,125 samples, 0.28%)</title><rect x="46.9" y="293" width="3.3" height="15.0" fill="rgb(208,14,3)" rx="2" ry="2" /> | |
| <text x="49.88" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rmqueue_pcplist (5,025,125 samples, 0.28%)</title><rect x="442.4" y="85" width="3.4" height="15.0" fill="rgb(230,118,28)" rx="2" ry="2" /> | |
| <text x="445.44" y="95.5" ></text> | |
| </g> | |
| <g > | |
| <title>copy_page_to_iter (1,638,190,750 samples, 92.61%)</title><rect x="70.3" y="309" width="1092.9" height="15.0" fill="rgb(209,22,5)" rx="2" ry="2" /> | |
| <text x="73.34" y="319.5" >copy_page_to_iter</text> | |
| </g> | |
| <g > | |
| <title>inherit_event.constprop.0 (30,150,750 samples, 1.70%)</title><rect x="20.1" y="261" width="20.1" height="15.0" fill="rgb(231,120,28)" rx="2" ry="2" /> | |
| <text x="23.06" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>__alloc_pages (190,954,750 samples, 10.80%)</title><rect x="439.1" y="117" width="127.4" height="15.0" fill="rgb(233,129,30)" rx="2" ry="2" /> | |
| <text x="442.09" y="127.5" >__alloc_pages</text> | |
| </g> | |
| <g > | |
| <title>folio_add_lru (65,326,625 samples, 3.69%)</title><rect x="569.8" y="149" width="43.6" height="15.0" fill="rgb(208,17,4)" rx="2" ry="2" /> | |
| <text x="572.83" y="159.5" >foli..</text> | |
| </g> | |
| <g > | |
| <title>blk_cgroup_congested (5,025,125 samples, 0.28%)</title><rect x="385.5" y="149" width="3.3" height="15.0" fill="rgb(250,211,50)" rx="2" ry="2" /> | |
| <text x="388.45" y="159.5" ></text> | |
| </g> | |
| <g > | |
| <title>[libprotobuf-c.so.1.0.0] (5,025,125 samples, 0.28%)</title><rect x="13.4" y="389" width="3.3" height="15.0" fill="rgb(209,19,4)" rx="2" ry="2" /> | |
| <text x="16.35" y="399.5" ></text> | |
| </g> | |
| <g > | |
| <title>folio_batch_move_lru (50,251,250 samples, 2.84%)</title><rect x="576.5" y="133" width="33.6" height="15.0" fill="rgb(207,10,2)" rx="2" ry="2" /> | |
| <text x="579.53" y="143.5" >fo..</text> | |
| </g> | |
| <g > | |
| <title>inherit_task_group.isra.0 (30,150,750 samples, 1.70%)</title><rect x="20.1" y="277" width="20.1" height="15.0" fill="rgb(212,32,7)" rx="2" ry="2" /> | |
| <text x="23.06" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>alloc_pages_mpol (201,005,000 samples, 11.36%)</title><rect x="435.7" y="133" width="134.1" height="15.0" fill="rgb(254,227,54)" rx="2" ry="2" /> | |
| <text x="438.74" y="143.5" >alloc_pages_mpol</text> | |
| </g> | |
| <g > | |
| <title>__mod_lruvec_state (5,025,125 samples, 0.28%)</title><rect x="620.1" y="133" width="3.4" height="15.0" fill="rgb(226,100,24)" rx="2" ry="2" /> | |
| <text x="623.11" y="143.5" ></text> | |
| </g> | |
| <g > | |
| <title>handle_pte_fault (417,085,375 samples, 23.58%)</title><rect x="365.3" y="197" width="278.3" height="15.0" fill="rgb(217,57,13)" rx="2" ry="2" /> | |
| <text x="368.34" y="207.5" >handle_pte_fault</text> | |
| </g> | |
| <g > | |
| <title>folio_add_new_anon_rmap (15,075,375 samples, 0.85%)</title><rect x="613.4" y="165" width="10.1" height="15.0" fill="rgb(233,133,31)" rx="2" ry="2" /> | |
| <text x="616.41" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>down_read (5,025,125 samples, 0.28%)</title><rect x="43.5" y="325" width="3.4" height="15.0" fill="rgb(246,188,45)" rx="2" ry="2" /> | |
| <text x="46.52" y="335.5" ></text> | |
| </g> | |
| <g > | |
| <title>handle_mm_fault (678,391,875 samples, 38.35%)</title><rect x="191.0" y="229" width="452.6" height="15.0" fill="rgb(234,135,32)" rx="2" ry="2" /> | |
| <text x="194.02" y="239.5" >handle_mm_fault</text> | |
| </g> | |
| <g > | |
| <title>pte_offset_map_nolock (10,050,250 samples, 0.57%)</title><rect x="636.9" y="181" width="6.7" height="15.0" fill="rgb(240,162,38)" rx="2" ry="2" /> | |
| <text x="639.88" y="191.5" ></text> | |
| </g> | |
| <g > | |
| <title>__folio_throttle_swaprate (5,025,125 samples, 0.28%)</title><rect x="385.5" y="165" width="3.3" height="15.0" fill="rgb(239,160,38)" rx="2" ry="2" /> | |
| <text x="388.45" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>mt_find (75,376,875 samples, 4.26%)</title><rect x="921.8" y="197" width="50.3" height="15.0" fill="rgb(252,218,52)" rx="2" ry="2" /> | |
| <text x="924.82" y="207.5" >mt_find</text> | |
| </g> | |
| <g > | |
| <title>[libprotobuf-c.so.1.0.0] (5,025,125 samples, 0.28%)</title><rect x="13.4" y="325" width="3.3" height="15.0" fill="rgb(209,19,4)" rx="2" ry="2" /> | |
| <text x="16.35" y="335.5" ></text> | |
| </g> | |
| <g > | |
| <title>[libprotobuf-c.so.1.0.0] (5,025,125 samples, 0.28%)</title><rect x="13.4" y="357" width="3.3" height="15.0" fill="rgb(209,19,4)" rx="2" ry="2" /> | |
| <text x="16.35" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>shmem_file_read_iter (1,698,492,250 samples, 96.02%)</title><rect x="56.9" y="325" width="1133.1" height="15.0" fill="rgb(231,123,29)" rx="2" ry="2" /> | |
| <text x="59.93" y="335.5" >shmem_file_read_iter</text> | |
| </g> | |
| <g > | |
| <title>rep_movs_alternative (1,638,190,750 samples, 92.61%)</title><rect x="70.3" y="293" width="1092.9" height="15.0" fill="rgb(205,1,0)" rx="2" ry="2" /> | |
| <text x="73.34" y="303.5" >rep_movs_alternative</text> | |
| </g> | |
| <g > | |
| <title>do_syscall_64 (1,758,793,750 samples, 99.43%)</title><rect x="16.7" y="405" width="1173.3" height="15.0" fill="rgb(209,20,4)" rx="2" ry="2" /> | |
| <text x="19.70" y="415.5" >do_syscall_64</text> | |
| </g> | |
| <g > | |
| <title>alloc_anon_folio (201,005,000 samples, 11.36%)</title><rect x="435.7" y="165" width="134.1" height="15.0" fill="rgb(223,86,20)" rx="2" ry="2" /> | |
| <text x="438.74" y="175.5" >alloc_anon_folio</text> | |
| </g> | |
| <g > | |
| <title>entry_SYSCALL_64_after_hwframe (1,758,793,750 samples, 99.43%)</title><rect x="16.7" y="421" width="1173.3" height="15.0" fill="rgb(218,63,15)" rx="2" ry="2" /> | |
| <text x="19.70" y="431.5" >entry_SYSCALL_64_after_hwframe</text> | |
| </g> | |
| <g > | |
| <title>do_pb_read_one (5,025,125 samples, 0.28%)</title><rect x="13.4" y="421" width="3.3" height="15.0" fill="rgb(211,29,6)" rx="2" ry="2" /> | |
| <text x="16.35" y="431.5" ></text> | |
| </g> | |
| <g > | |
| <title>clear_page_erms (10,050,250 samples, 0.57%)</title><rect x="33.5" y="133" width="6.7" height="15.0" fill="rgb(229,113,27)" rx="2" ry="2" /> | |
| <text x="36.47" y="143.5" ></text> | |
| </g> | |
| <g > | |
| <title>kmem_cache_alloc_node (10,050,250 samples, 0.57%)</title><rect x="33.5" y="229" width="6.7" height="15.0" fill="rgb(236,142,34)" rx="2" ry="2" /> | |
| <text x="36.47" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>mem_cgroup_commit_charge (5,025,125 samples, 0.28%)</title><rect x="415.6" y="149" width="3.4" height="15.0" fill="rgb(239,158,37)" rx="2" ry="2" /> | |
| <text x="418.62" y="159.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mod_node_page_state (5,025,125 samples, 0.28%)</title><rect x="620.1" y="117" width="3.4" height="15.0" fill="rgb(213,38,9)" rx="2" ry="2" /> | |
| <text x="623.11" y="127.5" ></text> | |
| </g> | |
| <g > | |
| <title>exc_page_fault (5,025,125 samples, 0.28%)</title><rect x="10.0" y="405" width="3.4" height="15.0" fill="rgb(212,35,8)" rx="2" ry="2" /> | |
| <text x="13.00" y="415.5" ></text> | |
| </g> | |
| <g > | |
| <title>__x64_sys_exit (15,075,375 samples, 0.85%)</title><rect x="40.2" y="373" width="10.0" height="15.0" fill="rgb(226,97,23)" rx="2" ry="2" /> | |
| <text x="43.17" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>folio_add_lru_vma (65,326,625 samples, 3.69%)</title><rect x="569.8" y="165" width="43.6" height="15.0" fill="rgb(252,216,51)" rx="2" ry="2" /> | |
| <text x="572.83" y="175.5" >foli..</text> | |
| </g> | |
| <g > | |
| <title>percpu_counter_add_batch (15,075,375 samples, 0.85%)</title><rect x="623.5" y="165" width="10.0" height="15.0" fill="rgb(241,166,39)" rx="2" ry="2" /> | |
| <text x="626.47" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>asm_exc_page_fault (1,547,738,500 samples, 87.50%)</title><rect x="130.7" y="277" width="1032.5" height="15.0" fill="rgb(225,93,22)" rx="2" ry="2" /> | |
| <text x="133.68" y="287.5" >asm_exc_page_fault</text> | |
| </g> | |
| <g > | |
| <title>try_charge_memcg (5,025,125 samples, 0.28%)</title><rect x="633.5" y="165" width="3.4" height="15.0" fill="rgb(210,27,6)" rx="2" ry="2" /> | |
| <text x="636.52" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_exit (15,075,375 samples, 0.85%)</title><rect x="40.2" y="357" width="10.0" height="15.0" fill="rgb(231,122,29)" rx="2" ry="2" /> | |
| <text x="43.17" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>filemap_get_entry (30,150,750 samples, 1.70%)</title><rect x="1169.9" y="293" width="20.1" height="15.0" fill="rgb(246,193,46)" rx="2" ry="2" /> | |
| <text x="1172.89" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>perf_event_alloc (25,125,625 samples, 1.42%)</title><rect x="23.4" y="245" width="16.8" height="15.0" fill="rgb(209,19,4)" rx="2" ry="2" /> | |
| <text x="26.41" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>__handle_mm_fault (653,266,250 samples, 36.93%)</title><rect x="207.8" y="213" width="435.8" height="15.0" fill="rgb(207,9,2)" rx="2" ry="2" /> | |
| <text x="210.78" y="223.5" >__handle_mm_fault</text> | |
| </g> | |
| <g > | |
| <title>protobuf_c_message_unpack (5,025,125 samples, 0.28%)</title><rect x="13.4" y="373" width="3.3" height="15.0" fill="rgb(207,12,3)" rx="2" ry="2" /> | |
| <text x="16.35" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>__x64_sys_clone (30,150,750 samples, 1.70%)</title><rect x="20.1" y="373" width="20.1" height="15.0" fill="rgb(214,42,10)" rx="2" ry="2" /> | |
| <text x="23.06" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>[libc.so.6] (5,025,125 samples, 0.28%)</title><rect x="10.0" y="437" width="3.4" height="15.0" fill="rgb(223,84,20)" rx="2" ry="2" /> | |
| <text x="13.00" y="447.5" ></text> | |
| </g> | |
| <g > | |
| <title>rmqueue (55,276,375 samples, 3.12%)</title><rect x="529.6" y="85" width="36.9" height="15.0" fill="rgb(226,98,23)" rx="2" ry="2" /> | |
| <text x="532.60" y="95.5" >rmq..</text> | |
| </g> | |
| <g > | |
| <title>rmqueue_bulk (10,050,250 samples, 0.57%)</title><rect x="546.4" y="53" width="6.7" height="15.0" fill="rgb(235,138,33)" rx="2" ry="2" /> | |
| <text x="549.36" y="63.5" ></text> | |
| </g> | |
| <g > | |
| <title>__lruvec_stat_mod_folio (15,075,375 samples, 0.85%)</title><rect x="613.4" y="149" width="10.1" height="15.0" fill="rgb(246,191,45)" rx="2" ry="2" /> | |
| <text x="616.41" y="159.5" ></text> | |
| </g> | |
| <g > | |
| <title>folio_lruvec_lock_irqsave (5,025,125 samples, 0.28%)</title><rect x="610.1" y="133" width="3.3" height="15.0" fill="rgb(235,138,33)" rx="2" ry="2" /> | |
| <text x="613.06" y="143.5" ></text> | |
| </g> | |
| <g > | |
| <title>lock_mm_and_find_vma (492,462,250 samples, 27.84%)</title><rect x="643.6" y="229" width="328.5" height="15.0" fill="rgb(235,138,33)" rx="2" ry="2" /> | |
| <text x="646.58" y="239.5" >lock_mm_and_find_vma</text> | |
| </g> | |
| <g > | |
| <title>try_charge_memcg (15,075,375 samples, 0.85%)</title><rect x="419.0" y="149" width="10.0" height="15.0" fill="rgb(210,27,6)" rx="2" ry="2" /> | |
| <text x="421.98" y="159.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_unlock_irqrestore (45,226,125 samples, 2.56%)</title><rect x="576.5" y="117" width="30.2" height="15.0" fill="rgb(228,106,25)" rx="2" ry="2" /> | |
| <text x="579.53" y="127.5" >_r..</text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_unlock_irqrestore (10,050,250 samples, 0.57%)</title><rect x="546.4" y="37" width="6.7" height="15.0" fill="rgb(228,106,25)" rx="2" ry="2" /> | |
| <text x="549.36" y="47.5" ></text> | |
| </g> | |
| <g > | |
| <title>xas_start (5,025,125 samples, 0.28%)</title><rect x="1186.6" y="261" width="3.4" height="15.0" fill="rgb(250,209,50)" rx="2" ry="2" /> | |
| <text x="1189.65" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>all (1,768,844,000 samples, 100%)</title><rect x="10.0" y="469" width="1180.0" height="15.0" fill="rgb(213,39,9)" rx="2" ry="2" /> | |
| <text x="13.00" y="479.5" ></text> | |
| </g> | |
| <g > | |
| <title>folio_unlock (10,050,250 samples, 0.57%)</title><rect x="50.2" y="325" width="6.7" height="15.0" fill="rgb(219,64,15)" rx="2" ry="2" /> | |
| <text x="53.23" y="335.5" ></text> | |
| </g> | |
| <g > | |
| <title>asm_exc_page_fault (5,025,125 samples, 0.28%)</title><rect x="10.0" y="421" width="3.4" height="15.0" fill="rgb(225,93,22)" rx="2" ry="2" /> | |
| <text x="13.00" y="431.5" ></text> | |
| </g> | |
| <g > | |
| <title>__raw_callee_save___pv_queued_spin_unlock (15,075,375 samples, 0.85%)</title><rect x="533.0" y="69" width="10.0" height="15.0" fill="rgb(248,202,48)" rx="2" ry="2" /> | |
| <text x="535.95" y="79.5" ></text> | |
| </g> | |
| <g > | |
| <title>page_counter_try_charge (5,025,125 samples, 0.28%)</title><rect x="425.7" y="133" width="3.3" height="15.0" fill="rgb(233,132,31)" rx="2" ry="2" /> | |
| <text x="428.68" y="143.5" ></text> | |
| </g> | |
| <g > | |
| <title>___slab_alloc (10,050,250 samples, 0.57%)</title><rect x="33.5" y="213" width="6.7" height="15.0" fill="rgb(230,115,27)" rx="2" ry="2" /> | |
| <text x="36.47" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>acct_collect (15,075,375 samples, 0.85%)</title><rect x="40.2" y="341" width="10.0" height="15.0" fill="rgb(251,214,51)" rx="2" ry="2" /> | |
| <text x="43.17" y="351.5" ></text> | |
| </g> | |
| <g > | |
| <title>protobuf_c_message_unpack (5,025,125 samples, 0.28%)</title><rect x="13.4" y="341" width="3.3" height="15.0" fill="rgb(207,12,3)" rx="2" ry="2" /> | |
| <text x="16.35" y="351.5" ></text> | |
| </g> | |
| <g > | |
| <title>perf_event_init_task (30,150,750 samples, 1.70%)</title><rect x="20.1" y="309" width="20.1" height="15.0" fill="rgb(247,195,46)" rx="2" ry="2" /> | |
| <text x="23.06" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>vma_alloc_folio (201,005,000 samples, 11.36%)</title><rect x="435.7" y="149" width="134.1" height="15.0" fill="rgb(245,187,44)" rx="2" ry="2" /> | |
| <text x="438.74" y="159.5" >vma_alloc_folio</text> | |
| </g> | |
| <g > | |
| <title>do_anonymous_page (407,035,125 samples, 23.01%)</title><rect x="365.3" y="181" width="271.6" height="15.0" fill="rgb(238,155,37)" rx="2" ry="2" /> | |
| <text x="368.34" y="191.5" >do_anonymous_page</text> | |
| </g> | |
| <g > | |
| <title>__rmqueue_pcplist (15,075,375 samples, 0.85%)</title><rect x="543.0" y="69" width="10.1" height="15.0" fill="rgb(230,118,28)" rx="2" ry="2" /> | |
| <text x="546.01" y="79.5" ></text> | |
| </g> | |
| <g > | |
| <title>__do_sys_clone (30,150,750 samples, 1.70%)</title><rect x="20.1" y="357" width="20.1" height="15.0" fill="rgb(211,27,6)" rx="2" ry="2" /> | |
| <text x="23.06" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>new_slab (10,050,250 samples, 0.57%)</title><rect x="33.5" y="197" width="6.7" height="15.0" fill="rgb(217,59,14)" rx="2" ry="2" /> | |
| <text x="36.47" y="207.5" ></text> | |
| </g> | |
| <g > | |
| <title>find_vma (75,376,875 samples, 4.26%)</title><rect x="921.8" y="213" width="50.3" height="15.0" fill="rgb(213,37,8)" rx="2" ry="2" /> | |
| <text x="924.82" y="223.5" >find_..</text> | |
| </g> | |
| <g > | |
| <title>folio_lruvec_lock_irqsave (5,025,125 samples, 0.28%)</title><rect x="606.7" y="117" width="3.4" height="15.0" fill="rgb(235,138,33)" rx="2" ry="2" /> | |
| <text x="609.70" y="127.5" ></text> | |
| </g> | |
| <g > | |
| <title>vfs_readv (1,708,542,500 samples, 96.59%)</title><rect x="50.2" y="357" width="1139.8" height="15.0" fill="rgb(212,32,7)" rx="2" ry="2" /> | |
| <text x="53.23" y="367.5" >vfs_readv</text> | |
| </g> | |
| <g > | |
| <title>xas_load (10,050,250 samples, 0.57%)</title><rect x="1183.3" y="277" width="6.7" height="15.0" fill="rgb(217,59,14)" rx="2" ry="2" /> | |
| <text x="1186.30" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>__pte_offset_map (5,025,125 samples, 0.28%)</title><rect x="640.2" y="165" width="3.4" height="15.0" fill="rgb(249,205,49)" rx="2" ry="2" /> | |
| <text x="643.23" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>perf_event_init_context (30,150,750 samples, 1.70%)</title><rect x="20.1" y="293" width="20.1" height="15.0" fill="rgb(214,41,9)" rx="2" ry="2" /> | |
| <text x="23.06" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_mem_cgroup_from_mm (25,125,625 samples, 1.42%)</title><rect x="398.9" y="149" width="16.7" height="15.0" fill="rgb(218,61,14)" rx="2" ry="2" /> | |
| <text x="401.86" y="159.5" ></text> | |
| </g> | |
| <g > | |
| <title>clear_page_erms (120,603,000 samples, 6.82%)</title><rect x="445.8" y="85" width="80.4" height="15.0" fill="rgb(229,113,27)" rx="2" ry="2" /> | |
| <text x="448.80" y="95.5" >clear_pag..</text> | |
| </g> | |
| <g > | |
| <title>__bitmap_intersects (5,025,125 samples, 0.28%)</title><rect x="566.5" y="117" width="3.3" height="15.0" fill="rgb(253,222,53)" rx="2" ry="2" /> | |
| <text x="569.48" y="127.5" ></text> | |
| </g> | |
| <g > | |
| <title>__x64_sys_preadv (1,708,542,500 samples, 96.59%)</title><rect x="50.2" y="373" width="1139.8" height="15.0" fill="rgb(234,134,32)" rx="2" ry="2" /> | |
| <text x="53.23" y="383.5" >__x64_sys_preadv</text> | |
| </g> | |
| <g > | |
| <title>criu (1,768,844,000 samples, 100.00%)</title><rect x="10.0" y="453" width="1180.0" height="15.0" fill="rgb(253,223,53)" rx="2" ry="2" /> | |
| <text x="13.00" y="463.5" >criu</text> | |
| </g> | |
| <g > | |
| <title>kernel_clone (30,150,750 samples, 1.70%)</title><rect x="20.1" y="341" width="20.1" height="15.0" fill="rgb(241,169,40)" rx="2" ry="2" /> | |
| <text x="23.06" y="351.5" ></text> | |
| </g> | |
| <g > | |
| <title>mas_next_slot (5,025,125 samples, 0.28%)</title><rect x="46.9" y="309" width="3.3" height="15.0" fill="rgb(218,59,14)" rx="2" ry="2" /> | |
| <text x="49.88" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>__srcu_read_lock (5,025,125 samples, 0.28%)</title><rect x="30.1" y="229" width="3.4" height="15.0" fill="rgb(227,102,24)" rx="2" ry="2" /> | |
| <text x="33.11" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_user_addr_fault (1,261,306,375 samples, 71.31%)</title><rect x="130.7" y="245" width="841.4" height="15.0" fill="rgb(228,108,25)" rx="2" ry="2" /> | |
| <text x="133.68" y="255.5" >do_user_addr_fault</text> | |
| </g> | |
| <g > | |
| <title>cpuset_node_allowed (5,025,125 samples, 0.28%)</title><rect x="526.2" y="85" width="3.4" height="15.0" fill="rgb(240,162,38)" rx="2" ry="2" /> | |
| <text x="529.25" y="95.5" ></text> | |
| </g> | |
| <g > | |
| <title>protobuf_c_message_unpack (5,025,125 samples, 0.28%)</title><rect x="13.4" y="405" width="3.3" height="15.0" fill="rgb(207,12,3)" rx="2" ry="2" /> | |
| <text x="16.35" y="415.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_page_from_freelist (190,954,750 samples, 10.80%)</title><rect x="439.1" y="101" width="127.4" height="15.0" fill="rgb(252,218,52)" rx="2" ry="2" /> | |
| <text x="442.09" y="111.5" >get_page_from_f..</text> | |
| </g> | |
| <g > | |
| <title>count_memcg_events.constprop.0 (5,025,125 samples, 0.28%)</title><rect x="187.7" y="229" width="3.3" height="15.0" fill="rgb(213,41,9)" rx="2" ry="2" /> | |
| <text x="190.67" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>protobuf_c_message_unpack (5,025,125 samples, 0.28%)</title><rect x="13.4" y="309" width="3.3" height="15.0" fill="rgb(207,12,3)" rx="2" ry="2" /> | |
| <text x="16.35" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>x64_sys_call (1,753,768,625 samples, 99.15%)</title><rect x="20.1" y="389" width="1169.9" height="15.0" fill="rgb(247,194,46)" rx="2" ry="2" /> | |
| <text x="23.06" y="399.5" >x64_sys_call</text> | |
| </g> | |
| <g > | |
| <title>up_read (286,432,125 samples, 16.19%)</title><rect x="972.1" y="245" width="191.1" height="15.0" fill="rgb(209,18,4)" rx="2" ry="2" /> | |
| <text x="975.10" y="255.5" >up_read</text> | |
| </g> | |
| <g > | |
| <title>down_read_trylock (417,085,375 samples, 23.58%)</title><rect x="643.6" y="213" width="278.2" height="15.0" fill="rgb(219,66,15)" rx="2" ry="2" /> | |
| <text x="646.58" y="223.5" >down_read_trylock</text> | |
| </g> | |
| <g > | |
| <title>mas_find (5,025,125 samples, 0.28%)</title><rect x="46.9" y="325" width="3.3" height="15.0" fill="rgb(232,126,30)" rx="2" ry="2" /> | |
| <text x="49.88" y="335.5" ></text> | |
| </g> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment