Last active
December 22, 2023 04:25
-
-
Save asd142513/d3c7dc7d15ffdf46a5cccae0de0377b0 to your computer and use it in GitHub Desktop.
AoC 2022 Day 16 part 1
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
| IK 6 EU XY AD SC CH | |
| YW 11 HD MW ID JD BJ | |
| HD 0 YW AA | |
| LZ 0 CR IT | |
| LO 0 CH YB | |
| PM 0 EN YB | |
| ME 0 VP TX | |
| CK 0 MD LL | |
| RM 0 TX AA | |
| MU 0 MD BX | |
| WK 0 HG IP | |
| MT 0 ZZ CR | |
| EN 0 JE PM | |
| AD 0 JE IK | |
| IT 8 RY LZ KC | |
| JD 0 MD YW | |
| RY 0 IT YB | |
| FS 10 QQ IP VG VP LL | |
| VT 0 TX MW | |
| WF 0 JE HJ | |
| CH 0 LO IK | |
| PZ 17 NZ HJ | |
| SS 18 BJ | |
| MW 0 YW VT | |
| JE 16 AD JG EN ZZ WF | |
| AA 0 LQ NG RM CA HD | |
| DS 21 PB | |
| QQ 0 FS ID | |
| HG 20 QF WK | |
| ID 0 QQ YW | |
| WL 0 KI EU | |
| OT 0 CR KI | |
| KI 14 OT UN WL XU KC | |
| ZZ 0 MT JE | |
| VD 0 CR RI | |
| PB 0 DS MD | |
| XU 0 KI SQ | |
| CR 7 OT MT XY VD LZ | |
| QF 0 HG NZ | |
| JG 0 JE QL | |
| VP 0 FS ME | |
| HJ 0 WF PZ | |
| MD 12 CK MU CA JD PB | |
| SQ 22 XU | |
| XY 0 CR IK | |
| VG 0 LQ FS | |
| YB 13 RI RY LO UN PM | |
| LQ 0 AA VG | |
| BX 0 MU TX | |
| KC 0 IT KI | |
| IP 0 FS WK | |
| SC 0 NG IK | |
| BJ 0 SS YW | |
| NZ 0 QF PZ | |
| TX 3 RM QL BX ME VT | |
| EU 0 WL IK | |
| QL 0 TX JG | |
| CA 0 MD AA | |
| LL 0 FS CK | |
| UN 0 KI YB | |
| RI 0 YB VD | |
| NG 0 SC AA |
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
| use std::{ | |
| collections::{BTreeSet, HashMap}, | |
| fs, | |
| time::SystemTime, | |
| }; | |
| #[derive(Debug)] | |
| struct Valve { | |
| rate: u32, | |
| adjs: Vec<usize>, | |
| } | |
| impl Valve { | |
| fn with_filename(filename: &str) -> Vec<Self> { | |
| let mut valves = vec![]; | |
| let contents = fs::read_to_string(filename).unwrap(); | |
| let mut lines = contents | |
| .lines() | |
| .collect::<BTreeSet<_>>() | |
| .into_iter() | |
| .map(str::split_ascii_whitespace) | |
| .collect::<Vec<_>>(); | |
| let mut label_to_index = HashMap::new(); | |
| for (index, line) in lines.iter_mut().enumerate() { | |
| label_to_index.insert(line.next().unwrap(), index); | |
| } | |
| for mut line in lines { | |
| let rate = line.next().unwrap().parse().unwrap(); | |
| let adjs: Vec<_> = line.map(|label| label_to_index[label]).collect(); | |
| valves.push(Self { rate, adjs }); | |
| } | |
| valves | |
| } | |
| } | |
| #[derive(Debug, Clone, PartialEq, Eq, Hash)] | |
| struct State { | |
| valve_states: Vec<bool>, | |
| position: usize, | |
| rate: u32, | |
| released_pressure: u32, | |
| } | |
| impl State { | |
| fn new(valves: &[Valve]) -> Self { | |
| // let valve_states: Vec<bool> = valves.iter().map(|valve| valve.rate == 0).collect(); // Slow | |
| let mut valve_states = Vec::with_capacity(valves.len()); // Fast | |
| for valve in valves { | |
| valve_states.push(valve.rate == 0); | |
| } | |
| State { | |
| valve_states, | |
| position: 0, | |
| rate: 0, | |
| released_pressure: 0, | |
| } | |
| } | |
| fn tick(&mut self) { | |
| self.released_pressure += self.rate; | |
| } | |
| fn open_valve(&self, valves: &[Valve]) -> Self { | |
| assert!(!self.valve_states[self.position]); | |
| let mut next = self.clone(); | |
| next.tick(); | |
| next.valve_states[self.position] = true; | |
| next.rate += valves[next.position].rate; | |
| next | |
| } | |
| fn move_to(&self, dest: usize) -> Self { | |
| let mut next = self.clone(); | |
| next.tick(); | |
| next.position = dest; | |
| next | |
| } | |
| } | |
| static mut COUNT: u64 = 0; | |
| static mut HIT: u64 = 0; | |
| static mut INSERT: u64 = 0; | |
| fn solve( | |
| current_state: &State, | |
| valves: &[Valve], | |
| remaining_time: u32, | |
| last_position: usize, | |
| cache: &mut HashMap<State, (u32, u32)>, | |
| ) -> u32 { | |
| unsafe { | |
| COUNT += 1; | |
| } | |
| if let Some((time, total)) = cache.get(current_state) { | |
| if *time >= remaining_time { | |
| unsafe { | |
| HIT += 1; | |
| } | |
| return *total; | |
| } | |
| } | |
| if remaining_time == 0 { | |
| let total = current_state.released_pressure; | |
| cache.insert(current_state.clone(), (remaining_time, total)); | |
| unsafe { | |
| INSERT += 1; | |
| } | |
| return total; | |
| } | |
| if current_state.valve_states.iter().all(|x| *x) { | |
| let total = current_state.released_pressure + current_state.rate * remaining_time; | |
| cache.insert(current_state.clone(), (remaining_time, total)); | |
| unsafe { | |
| INSERT += 1; | |
| } | |
| return total; | |
| } | |
| let mut result = 0; | |
| if !current_state.valve_states[current_state.position] { | |
| result = result.max(solve( | |
| ¤t_state.open_valve(valves), | |
| valves, | |
| remaining_time - 1, | |
| current_state.position, | |
| cache, | |
| )); | |
| } | |
| for dest in &valves[current_state.position].adjs { | |
| if *dest == last_position { | |
| continue; | |
| } | |
| result = result.max(solve( | |
| ¤t_state.move_to(*dest), | |
| valves, | |
| remaining_time - 1, | |
| current_state.position, | |
| cache, | |
| )); | |
| } | |
| cache.insert(current_state.clone(), (remaining_time, result)); | |
| unsafe { | |
| INSERT += 1; | |
| } | |
| result | |
| } | |
| fn main() { | |
| let start = SystemTime::now(); | |
| let valves = Valve::with_filename("input.txt"); | |
| let after_parse = SystemTime::now(); | |
| let state = State::new(&valves); | |
| let mut cache = HashMap::new(); | |
| println!("{}", solve(&state, &valves, 30, 0, &mut cache)); | |
| let after_solve = SystemTime::now(); | |
| println!("{} {}", cache.len(), cache.capacity()); | |
| unsafe { | |
| println!("call count: {COUNT}"); | |
| println!("cache hits: {HIT}"); | |
| println!("cache insert: {INSERT}"); | |
| } | |
| println!("{:?}", after_parse.duration_since(start)); | |
| println!("{:?}", after_solve.duration_since(after_parse)); | |
| } |
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="454" onload="init(evt)" viewBox="0 0 1200 454" 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; | |
| 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="454.0" fill="url(#background)" /> | |
| <text id="title" x="600.00" y="24" >Flame Graph</text> | |
| <text id="details" x="10.00" y="437" > </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="437" > </text> | |
| <g id="frames"> | |
| <g > | |
| <title>vma_alloc_folio (1 samples, 0.10%)</title><rect x="599.4" y="229" width="1.2" height="15.0" fill="rgb(245,187,44)" rx="2" ry="2" /> | |
| <text x="602.40" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>unmap_vmas (1 samples, 0.10%)</title><rect x="607.7" y="245" width="1.2" height="15.0" fill="rgb(243,176,42)" rx="2" ry="2" /> | |
| <text x="610.74" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mem_cgroup_charge (4 samples, 0.40%)</title><rect x="658.9" y="245" width="4.8" height="15.0" fill="rgb(218,60,14)" rx="2" ry="2" /> | |
| <text x="661.94" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>tlb_batch_pages_flush (1 samples, 0.10%)</title><rect x="607.7" y="149" width="1.2" height="15.0" fill="rgb(234,133,32)" rx="2" ry="2" /> | |
| <text x="610.74" y="159.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mod_memcg_lruvec_state (1 samples, 0.10%)</title><rect x="597.0" y="181" width="1.2" height="15.0" fill="rgb(247,195,46)" rx="2" ry="2" /> | |
| <text x="600.02" y="191.5" ></text> | |
| </g> | |
| <g > | |
| <title>clear_page_erms (1 samples, 0.10%)</title><rect x="666.1" y="165" width="1.2" height="15.0" fill="rgb(229,113,27)" rx="2" ry="2" /> | |
| <text x="669.08" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_trylock (1 samples, 0.10%)</title><rect x="598.2" y="181" width="1.2" height="15.0" fill="rgb(222,80,19)" rx="2" ry="2" /> | |
| <text x="601.21" y="191.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mod_lruvec_state (1 samples, 0.10%)</title><rect x="597.0" y="213" width="1.2" height="15.0" fill="rgb(226,100,24)" rx="2" ry="2" /> | |
| <text x="600.02" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_unlock (1 samples, 0.10%)</title><rect x="595.8" y="245" width="1.2" height="15.0" fill="rgb(253,224,53)" rx="2" ry="2" /> | |
| <text x="598.83" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_user_addr_fault (1 samples, 0.10%)</title><rect x="651.8" y="309" width="1.2" height="15.0" fill="rgb(228,108,25)" rx="2" ry="2" /> | |
| <text x="654.80" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>__alloc_pages (2 samples, 0.20%)</title><rect x="664.9" y="213" width="2.4" height="15.0" fill="rgb(233,129,30)" rx="2" ry="2" /> | |
| <text x="667.89" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_lock (1 samples, 0.10%)</title><rect x="663.7" y="213" width="1.2" height="15.0" fill="rgb(220,69,16)" rx="2" ry="2" /> | |
| <text x="666.70" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>_int_malloc (17 samples, 1.72%)</title><rect x="649.4" y="373" width="20.3" height="15.0" fill="rgb(215,47,11)" rx="2" ry="2" /> | |
| <text x="652.41" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>exc_page_fault (15 samples, 1.51%)</title><rect x="651.8" y="341" width="17.9" height="15.0" fill="rgb(212,35,8)" rx="2" ry="2" /> | |
| <text x="654.80" y="351.5" ></text> | |
| </g> | |
| <g > | |
| <title>__alloc_pages (1 samples, 0.10%)</title><rect x="598.2" y="213" width="1.2" height="15.0" fill="rgb(233,129,30)" rx="2" ry="2" /> | |
| <text x="601.21" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>page_add_new_anon_rmap (1 samples, 0.10%)</title><rect x="663.7" y="245" width="1.2" height="15.0" fill="rgb(235,138,33)" rx="2" ry="2" /> | |
| <text x="666.70" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>d16::solve::h8ed30d5aef8ddbbe (4 samples, 0.40%)</title><rect x="26.7" y="357" width="4.7" height="15.0" fill="rgb(210,27,6)" rx="2" ry="2" /> | |
| <text x="29.67" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>__handle_mm_fault (1 samples, 0.10%)</title><rect x="653.0" y="277" width="1.2" height="15.0" fill="rgb(207,9,2)" rx="2" ry="2" /> | |
| <text x="655.99" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>tlb_flush_mmu (1 samples, 0.10%)</title><rect x="607.7" y="165" width="1.2" height="15.0" fill="rgb(214,45,10)" rx="2" ry="2" /> | |
| <text x="610.74" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_mem_cgroup_from_mm (1 samples, 0.10%)</title><rect x="594.6" y="229" width="1.2" height="15.0" fill="rgb(218,61,14)" rx="2" ry="2" /> | |
| <text x="597.64" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_lock (1 samples, 0.10%)</title><rect x="654.2" y="261" width="1.2" height="15.0" fill="rgb(239,160,38)" rx="2" ry="2" /> | |
| <text x="657.18" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>page_add_new_anon_rmap (1 samples, 0.10%)</title><rect x="597.0" y="245" width="1.2" height="15.0" fill="rgb(235,138,33)" rx="2" ry="2" /> | |
| <text x="600.02" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>charge_memcg (2 samples, 0.20%)</title><rect x="658.9" y="213" width="2.4" height="15.0" fill="rgb(242,170,40)" rx="2" ry="2" /> | |
| <text x="661.94" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>__memcmp_avx2_movbe (2 samples, 0.20%)</title><rect x="14.8" y="341" width="2.3" height="15.0" fill="rgb(224,91,21)" rx="2" ry="2" /> | |
| <text x="17.76" y="351.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_mas_munmap (1 samples, 0.10%)</title><rect x="607.7" y="293" width="1.2" height="15.0" fill="rgb(224,90,21)" rx="2" ry="2" /> | |
| <text x="610.74" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>blk_cgroup_congested (1 samples, 0.10%)</title><rect x="592.3" y="213" width="1.2" height="15.0" fill="rgb(250,211,50)" rx="2" ry="2" /> | |
| <text x="595.26" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>unmap_single_vma (1 samples, 0.10%)</title><rect x="607.7" y="229" width="1.2" height="15.0" fill="rgb(225,93,22)" rx="2" ry="2" /> | |
| <text x="610.74" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>clear_page_erms (1 samples, 0.10%)</title><rect x="666.1" y="181" width="1.2" height="15.0" fill="rgb(229,113,27)" rx="2" ry="2" /> | |
| <text x="669.08" y="191.5" ></text> | |
| </g> | |
| <g > | |
| <title>__cgroup_throttle_swaprate (1 samples, 0.10%)</title><rect x="589.9" y="229" width="1.2" height="15.0" fill="rgb(221,73,17)" rx="2" ry="2" /> | |
| <text x="592.88" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>unmap_region (1 samples, 0.10%)</title><rect x="607.7" y="261" width="1.2" height="15.0" fill="rgb(219,64,15)" rx="2" ry="2" /> | |
| <text x="610.74" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_unlock (1 samples, 0.10%)</title><rect x="591.1" y="213" width="1.2" height="15.0" fill="rgb(253,224,53)" rx="2" ry="2" /> | |
| <text x="594.07" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>__cgroup_throttle_swaprate (3 samples, 0.30%)</title><rect x="589.9" y="245" width="3.6" height="15.0" fill="rgb(221,73,17)" rx="2" ry="2" /> | |
| <text x="592.88" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_page_from_freelist (2 samples, 0.20%)</title><rect x="664.9" y="197" width="2.4" height="15.0" fill="rgb(252,218,52)" rx="2" ry="2" /> | |
| <text x="667.89" y="207.5" ></text> | |
| </g> | |
| <g > | |
| <title>release_pages (1 samples, 0.10%)</title><rect x="607.7" y="117" width="1.2" height="15.0" fill="rgb(228,106,25)" rx="2" ry="2" /> | |
| <text x="610.74" y="127.5" ></text> | |
| </g> | |
| <g > | |
| <title>mtree_range_walk (1 samples, 0.10%)</title><rect x="668.5" y="261" width="1.2" height="15.0" fill="rgb(215,49,11)" rx="2" ry="2" /> | |
| <text x="671.47" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>free_unref_page_commit (1 samples, 0.10%)</title><rect x="607.7" y="85" width="1.2" height="15.0" fill="rgb(247,196,46)" rx="2" ry="2" /> | |
| <text x="610.74" y="95.5" ></text> | |
| </g> | |
| <g > | |
| <title>unmap_page_range (1 samples, 0.10%)</title><rect x="607.7" y="213" width="1.2" height="15.0" fill="rgb(206,5,1)" rx="2" ry="2" /> | |
| <text x="610.74" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_lock (1 samples, 0.10%)</title><rect x="654.2" y="245" width="1.2" height="15.0" fill="rgb(239,160,38)" rx="2" ry="2" /> | |
| <text x="657.18" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>__memcpy_avx_unaligned_erms (3 samples, 0.30%)</title><rect x="644.7" y="373" width="3.5" height="15.0" fill="rgb(246,190,45)" rx="2" ry="2" /> | |
| <text x="647.65" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>all (991 samples, 100%)</title><rect x="10.0" y="405" width="1180.0" height="15.0" fill="rgb(213,39,9)" rx="2" ry="2" /> | |
| <text x="13.00" y="415.5" ></text> | |
| </g> | |
| <g > | |
| <title>[Missed User Stack] (4 samples, 0.40%)</title><rect x="10.0" y="373" width="4.8" height="15.0" fill="rgb(227,105,25)" rx="2" ry="2" /> | |
| <text x="13.00" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_trylock (1 samples, 0.10%)</title><rect x="664.9" y="165" width="1.2" height="15.0" fill="rgb(222,80,19)" rx="2" ry="2" /> | |
| <text x="667.89" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>lock_mm_and_find_vma (1 samples, 0.10%)</title><rect x="668.5" y="309" width="1.2" height="15.0" fill="rgb(235,138,33)" rx="2" ry="2" /> | |
| <text x="671.47" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mem_cgroup_charge (2 samples, 0.20%)</title><rect x="593.5" y="245" width="2.3" height="15.0" fill="rgb(218,60,14)" rx="2" ry="2" /> | |
| <text x="596.45" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>_int_free (1 samples, 0.10%)</title><rect x="648.2" y="373" width="1.2" height="15.0" fill="rgb(247,196,46)" rx="2" ry="2" /> | |
| <text x="651.22" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>__GI___libc_malloc (4 samples, 0.40%)</title><rect x="603.0" y="373" width="4.7" height="15.0" fill="rgb(219,68,16)" rx="2" ry="2" /> | |
| <text x="605.98" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>hashbrown::map::HashMap$LT$K$C$V$C$S$C$A$GT$::insert::h04ad0c87d2d5a84a (37 samples, 3.73%)</title><rect x="1145.9" y="373" width="44.1" height="15.0" fill="rgb(238,155,37)" rx="2" ry="2" /> | |
| <text x="1148.94" y="383.5" >hash..</text> | |
| </g> | |
| <g > | |
| <title>__folio_alloc (1 samples, 0.10%)</title><rect x="598.2" y="229" width="1.2" height="15.0" fill="rgb(224,91,21)" rx="2" ry="2" /> | |
| <text x="601.21" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_unlock_irqrestore (1 samples, 0.10%)</title><rect x="607.7" y="37" width="1.2" height="15.0" fill="rgb(228,106,25)" rx="2" ry="2" /> | |
| <text x="610.74" y="47.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_lock (1 samples, 0.10%)</title><rect x="663.7" y="229" width="1.2" height="15.0" fill="rgb(220,69,16)" rx="2" ry="2" /> | |
| <text x="666.70" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>__folio_alloc (2 samples, 0.20%)</title><rect x="664.9" y="229" width="2.4" height="15.0" fill="rgb(224,91,21)" rx="2" ry="2" /> | |
| <text x="667.89" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>blk_cgroup_congested (1 samples, 0.10%)</title><rect x="592.3" y="229" width="1.2" height="15.0" fill="rgb(250,211,50)" rx="2" ry="2" /> | |
| <text x="595.26" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>pud_val (1 samples, 0.10%)</title><rect x="667.3" y="293" width="1.2" height="15.0" fill="rgb(238,151,36)" rx="2" ry="2" /> | |
| <text x="670.28" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>__handle_mm_fault (12 samples, 1.21%)</title><rect x="586.3" y="293" width="14.3" height="15.0" fill="rgb(207,9,2)" rx="2" ry="2" /> | |
| <text x="589.31" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>zap_pmd_range.isra.0 (1 samples, 0.10%)</title><rect x="607.7" y="197" width="1.2" height="15.0" fill="rgb(244,180,43)" rx="2" ry="2" /> | |
| <text x="610.74" y="207.5" ></text> | |
| </g> | |
| <g > | |
| <title>up_read (1 samples, 0.10%)</title><rect x="600.6" y="293" width="1.2" height="15.0" fill="rgb(209,18,4)" rx="2" ry="2" /> | |
| <text x="603.60" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>exc_page_fault (18 samples, 1.82%)</title><rect x="580.4" y="341" width="21.4" height="15.0" fill="rgb(212,35,8)" rx="2" ry="2" /> | |
| <text x="583.35" y="351.5" >e..</text> | |
| </g> | |
| <g > | |
| <title>find_vma (1 samples, 0.10%)</title><rect x="668.5" y="293" width="1.2" height="15.0" fill="rgb(213,37,8)" rx="2" ry="2" /> | |
| <text x="671.47" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>handle_mm_fault (12 samples, 1.21%)</title><rect x="586.3" y="309" width="14.3" height="15.0" fill="rgb(234,135,32)" rx="2" ry="2" /> | |
| <text x="589.31" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>vma_alloc_folio (2 samples, 0.20%)</title><rect x="598.2" y="245" width="2.4" height="15.0" fill="rgb(245,187,44)" rx="2" ry="2" /> | |
| <text x="601.21" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>__handle_mm_fault (12 samples, 1.21%)</title><rect x="653.0" y="293" width="14.3" height="15.0" fill="rgb(207,9,2)" rx="2" ry="2" /> | |
| <text x="655.99" y="303.5" ></text> | |
| </g> | |
| <g > | |
| <title>asm_exc_page_fault (18 samples, 1.82%)</title><rect x="580.4" y="357" width="21.4" height="15.0" fill="rgb(225,93,22)" rx="2" ry="2" /> | |
| <text x="583.35" y="367.5" >a..</text> | |
| </g> | |
| <g > | |
| <title>do_mas_align_munmap (1 samples, 0.10%)</title><rect x="607.7" y="277" width="1.2" height="15.0" fill="rgb(232,126,30)" rx="2" ry="2" /> | |
| <text x="610.74" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_user_addr_fault (15 samples, 1.51%)</title><rect x="651.8" y="325" width="17.9" height="15.0" fill="rgb(228,108,25)" rx="2" ry="2" /> | |
| <text x="654.80" y="335.5" ></text> | |
| </g> | |
| <g > | |
| <title>free_pages_and_swap_cache (1 samples, 0.10%)</title><rect x="607.7" y="133" width="1.2" height="15.0" fill="rgb(222,82,19)" rx="2" ry="2" /> | |
| <text x="610.74" y="143.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_unlock_irqrestore (1 samples, 0.10%)</title><rect x="607.7" y="53" width="1.2" height="15.0" fill="rgb(228,106,25)" rx="2" ry="2" /> | |
| <text x="610.74" y="63.5" ></text> | |
| </g> | |
| <g > | |
| <title>__memcmp_avx2_movbe (30 samples, 3.03%)</title><rect x="608.9" y="373" width="35.8" height="15.0" fill="rgb(224,91,21)" rx="2" ry="2" /> | |
| <text x="611.93" y="383.5" >__m..</text> | |
| </g> | |
| <g > | |
| <title>d16::solve::h8ed30d5aef8ddbbe (164 samples, 16.55%)</title><rect x="950.7" y="373" width="195.2" height="15.0" fill="rgb(210,27,6)" rx="2" ry="2" /> | |
| <text x="953.67" y="383.5" >d16::solve::h8ed30d5aef8d..</text> | |
| </g> | |
| <g > | |
| <title>do_user_addr_fault (5 samples, 0.50%)</title><rect x="580.4" y="309" width="5.9" height="15.0" fill="rgb(228,108,25)" rx="2" ry="2" /> | |
| <text x="583.35" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>[unknown] (14 samples, 1.41%)</title><rect x="14.8" y="373" width="16.6" height="15.0" fill="rgb(210,24,5)" rx="2" ry="2" /> | |
| <text x="17.76" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>free_pcppages_bulk (1 samples, 0.10%)</title><rect x="607.7" y="69" width="1.2" height="15.0" fill="rgb(210,26,6)" rx="2" ry="2" /> | |
| <text x="610.74" y="79.5" ></text> | |
| </g> | |
| <g > | |
| <title>pud_val (1 samples, 0.10%)</title><rect x="667.3" y="277" width="1.2" height="15.0" fill="rgb(238,151,36)" rx="2" ry="2" /> | |
| <text x="670.28" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_mem_cgroup_from_mm (2 samples, 0.20%)</title><rect x="661.3" y="213" width="2.4" height="15.0" fill="rgb(218,61,14)" rx="2" ry="2" /> | |
| <text x="664.32" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_page_from_freelist (1 samples, 0.10%)</title><rect x="598.2" y="197" width="1.2" height="15.0" fill="rgb(252,218,52)" rx="2" ry="2" /> | |
| <text x="601.21" y="207.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_anonymous_page (9 samples, 0.91%)</title><rect x="589.9" y="261" width="10.7" height="15.0" fill="rgb(238,155,37)" rx="2" ry="2" /> | |
| <text x="592.88" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>blk_cgroup_congested (3 samples, 0.30%)</title><rect x="655.4" y="213" width="3.5" height="15.0" fill="rgb(250,211,50)" rx="2" ry="2" /> | |
| <text x="658.37" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mod_lruvec_page_state (1 samples, 0.10%)</title><rect x="597.0" y="229" width="1.2" height="15.0" fill="rgb(245,185,44)" rx="2" ry="2" /> | |
| <text x="600.02" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>handle_pte_fault (11 samples, 1.11%)</title><rect x="587.5" y="277" width="13.1" height="15.0" fill="rgb(217,57,13)" rx="2" ry="2" /> | |
| <text x="590.50" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>_$LT$core..hash..sip..Hasher$LT$S$GT$$u20$as$u20$core..hash..Hasher$GT$::write::hbafe4103b29dec41 (3 samples, 0.30%)</title><rect x="17.1" y="357" width="3.6" height="15.0" fill="rgb(248,200,47)" rx="2" ry="2" /> | |
| <text x="20.14" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_lock (1 samples, 0.10%)</title><rect x="593.5" y="229" width="1.1" height="15.0" fill="rgb(220,69,16)" rx="2" ry="2" /> | |
| <text x="596.45" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>__handle_mm_fault (1 samples, 0.10%)</title><rect x="586.3" y="277" width="1.2" height="15.0" fill="rgb(207,9,2)" rx="2" ry="2" /> | |
| <text x="589.31" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_anonymous_page (10 samples, 1.01%)</title><rect x="655.4" y="261" width="11.9" height="15.0" fill="rgb(238,155,37)" rx="2" ry="2" /> | |
| <text x="658.37" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_trylock (1 samples, 0.10%)</title><rect x="598.2" y="165" width="1.2" height="15.0" fill="rgb(222,80,19)" rx="2" ry="2" /> | |
| <text x="601.21" y="175.5" ></text> | |
| </g> | |
| <g > | |
| <title>_int_free (3 samples, 0.30%)</title><rect x="20.7" y="357" width="3.6" height="15.0" fill="rgb(247,196,46)" rx="2" ry="2" /> | |
| <text x="23.72" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>__cgroup_throttle_swaprate (3 samples, 0.30%)</title><rect x="655.4" y="245" width="3.5" height="15.0" fill="rgb(221,73,17)" rx="2" ry="2" /> | |
| <text x="658.37" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_syscall_64 (1 samples, 0.10%)</title><rect x="607.7" y="341" width="1.2" height="15.0" fill="rgb(209,20,4)" rx="2" ry="2" /> | |
| <text x="610.74" y="351.5" ></text> | |
| </g> | |
| <g > | |
| <title>__GI___munmap (1 samples, 0.10%)</title><rect x="607.7" y="373" width="1.2" height="15.0" fill="rgb(240,161,38)" rx="2" ry="2" /> | |
| <text x="610.74" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>handle_pte_fault (11 samples, 1.11%)</title><rect x="654.2" y="277" width="13.1" height="15.0" fill="rgb(217,57,13)" rx="2" ry="2" /> | |
| <text x="657.18" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_trylock (1 samples, 0.10%)</title><rect x="664.9" y="181" width="1.2" height="15.0" fill="rgb(222,80,19)" rx="2" ry="2" /> | |
| <text x="667.89" y="191.5" ></text> | |
| </g> | |
| <g > | |
| <title>free_unref_page_list (1 samples, 0.10%)</title><rect x="607.7" y="101" width="1.2" height="15.0" fill="rgb(221,77,18)" rx="2" ry="2" /> | |
| <text x="610.74" y="111.5" ></text> | |
| </g> | |
| <g > | |
| <title>__x64_sys_munmap (1 samples, 0.10%)</title><rect x="607.7" y="325" width="1.2" height="15.0" fill="rgb(206,7,1)" rx="2" ry="2" /> | |
| <text x="610.74" y="335.5" ></text> | |
| </g> | |
| <g > | |
| <title>mtree_range_walk (1 samples, 0.10%)</title><rect x="668.5" y="245" width="1.2" height="15.0" fill="rgb(215,49,11)" rx="2" ry="2" /> | |
| <text x="671.47" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>[unknown] (2 samples, 0.20%)</title><rect x="14.8" y="357" width="2.3" height="15.0" fill="rgb(210,24,5)" rx="2" ry="2" /> | |
| <text x="17.76" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>__vm_munmap (1 samples, 0.10%)</title><rect x="607.7" y="309" width="1.2" height="15.0" fill="rgb(231,121,28)" rx="2" ry="2" /> | |
| <text x="610.74" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_lock (2 samples, 0.20%)</title><rect x="587.5" y="245" width="2.4" height="15.0" fill="rgb(239,160,38)" rx="2" ry="2" /> | |
| <text x="590.50" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>do_user_addr_fault (18 samples, 1.82%)</title><rect x="580.4" y="325" width="21.4" height="15.0" fill="rgb(228,108,25)" rx="2" ry="2" /> | |
| <text x="583.35" y="335.5" >d..</text> | |
| </g> | |
| <g > | |
| <title>asm_exc_page_fault (15 samples, 1.51%)</title><rect x="651.8" y="357" width="17.9" height="15.0" fill="rgb(225,93,22)" rx="2" ry="2" /> | |
| <text x="654.80" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>handle_mm_fault (13 samples, 1.31%)</title><rect x="653.0" y="309" width="15.5" height="15.0" fill="rgb(234,135,32)" rx="2" ry="2" /> | |
| <text x="655.99" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_mem_cgroup_from_mm (1 samples, 0.10%)</title><rect x="594.6" y="213" width="1.2" height="15.0" fill="rgb(218,61,14)" rx="2" ry="2" /> | |
| <text x="597.64" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>__GI___libc_free (1 samples, 0.10%)</title><rect x="601.8" y="373" width="1.2" height="15.0" fill="rgb(252,218,52)" rx="2" ry="2" /> | |
| <text x="604.79" y="383.5" ></text> | |
| </g> | |
| <g > | |
| <title>charge_memcg (2 samples, 0.20%)</title><rect x="658.9" y="229" width="2.4" height="15.0" fill="rgb(242,170,40)" rx="2" ry="2" /> | |
| <text x="661.94" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_unlock (1 samples, 0.10%)</title><rect x="595.8" y="229" width="1.2" height="15.0" fill="rgb(253,224,53)" rx="2" ry="2" /> | |
| <text x="598.83" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>d16 (991 samples, 100.00%)</title><rect x="10.0" y="389" width="1180.0" height="15.0" fill="rgb(252,217,51)" rx="2" ry="2" /> | |
| <text x="13.00" y="399.5" >d16</text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_lock (1 samples, 0.10%)</title><rect x="593.5" y="213" width="1.1" height="15.0" fill="rgb(220,69,16)" rx="2" ry="2" /> | |
| <text x="596.45" y="223.5" ></text> | |
| </g> | |
| <g > | |
| <title>__mod_memcg_lruvec_state (1 samples, 0.10%)</title><rect x="597.0" y="197" width="1.2" height="15.0" fill="rgb(247,195,46)" rx="2" ry="2" /> | |
| <text x="600.02" y="207.5" ></text> | |
| </g> | |
| <g > | |
| <title>_$LT$core..hash..sip..Hasher$LT$S$GT$$u20$as$u20$core..hash..Hasher$GT$::write::hbafe4103b29dec41 (458 samples, 46.22%)</title><rect x="31.4" y="373" width="545.4" height="15.0" fill="rgb(248,200,47)" rx="2" ry="2" /> | |
| <text x="34.43" y="383.5" >_$LT$core..hash..sip..Hasher$LT$S$GT$$u20$as$u20$core..hash..Hasher$GT$::wr..</text> | |
| </g> | |
| <g > | |
| <title>zap_pte_range (1 samples, 0.10%)</title><rect x="607.7" y="181" width="1.2" height="15.0" fill="rgb(231,120,28)" rx="2" ry="2" /> | |
| <text x="610.74" y="191.5" ></text> | |
| </g> | |
| <g > | |
| <title>_raw_spin_lock (2 samples, 0.20%)</title><rect x="587.5" y="261" width="2.4" height="15.0" fill="rgb(239,160,38)" rx="2" ry="2" /> | |
| <text x="590.50" y="271.5" ></text> | |
| </g> | |
| <g > | |
| <title>up_read (1 samples, 0.10%)</title><rect x="600.6" y="309" width="1.2" height="15.0" fill="rgb(209,18,4)" rx="2" ry="2" /> | |
| <text x="603.60" y="319.5" ></text> | |
| </g> | |
| <g > | |
| <title>_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$14reserve_rehash17h8daa04d37ef610ebE.llvm.9678823248265243126 (21 samples, 2.12%)</title><rect x="576.8" y="373" width="25.0" height="15.0" fill="rgb(244,183,43)" rx="2" ry="2" /> | |
| <text x="579.78" y="383.5" >_..</text> | |
| </g> | |
| <g > | |
| <title>core::hash::BuildHasher::hash_one::h0b46624672ee5bba (2 samples, 0.20%)</title><rect x="24.3" y="357" width="2.4" height="15.0" fill="rgb(226,99,23)" rx="2" ry="2" /> | |
| <text x="27.29" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>mt_find (1 samples, 0.10%)</title><rect x="668.5" y="277" width="1.2" height="15.0" fill="rgb(252,218,52)" rx="2" ry="2" /> | |
| <text x="671.47" y="287.5" ></text> | |
| </g> | |
| <g > | |
| <title>blk_cgroup_congested (3 samples, 0.30%)</title><rect x="655.4" y="229" width="3.5" height="15.0" fill="rgb(250,211,50)" rx="2" ry="2" /> | |
| <text x="658.37" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>core::hash::BuildHasher::hash_one::h0b46624672ee5bba (236 samples, 23.81%)</title><rect x="669.7" y="373" width="281.0" height="15.0" fill="rgb(226,99,23)" rx="2" ry="2" /> | |
| <text x="672.66" y="383.5" >core::hash::BuildHasher::hash_one::h0..</text> | |
| </g> | |
| <g > | |
| <title>vma_alloc_folio (2 samples, 0.20%)</title><rect x="664.9" y="245" width="2.4" height="15.0" fill="rgb(245,187,44)" rx="2" ry="2" /> | |
| <text x="667.89" y="255.5" ></text> | |
| </g> | |
| <g > | |
| <title>entry_SYSCALL_64_after_hwframe (1 samples, 0.10%)</title><rect x="607.7" y="357" width="1.2" height="15.0" fill="rgb(218,63,15)" rx="2" ry="2" /> | |
| <text x="610.74" y="367.5" ></text> | |
| </g> | |
| <g > | |
| <title>__rcu_read_unlock (1 samples, 0.10%)</title><rect x="591.1" y="229" width="1.2" height="15.0" fill="rgb(253,224,53)" rx="2" ry="2" /> | |
| <text x="594.07" y="239.5" ></text> | |
| </g> | |
| <g > | |
| <title>get_mem_cgroup_from_mm (2 samples, 0.20%)</title><rect x="661.3" y="229" width="2.4" height="15.0" fill="rgb(218,61,14)" rx="2" ry="2" /> | |
| <text x="664.32" y="239.5" ></text> | |
| </g> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment