MCPcopy Create free account
hub / github.com/google/pprof / hilite

Function hilite

internal/driver/html/stacks.js:79–87  ·  view source on GitHub ↗
(src, on)

Source from the content-addressed store, hash-verified

77
78 // hilite changes the highlighting of elements corresponding to specified src.
79 function hilite(src, on) {
80 if (on) {
81 matches.add(src);
82 } else {
83 matches.delete(src);
84 }
85 toggleClass(src, 'hilite', on);
86 return true;
87 }
88
89 // Display action menu (triggered by right-click on a frame)
90 function showActionMenu(e, box) {

Callers 1

stackViewerFunction · 0.85

Calls 1

toggleClassFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…