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

Function setSampleIndexLink

internal/driver/html/common.js:561–568  ·  view source on GitHub ↗
(si)

Source from the content-addressed store, hash-verified

559 }
560
561 function setSampleIndexLink(si) {
562 const elem = document.getElementById('sampletype-' + si);
563 if (elem != null) {
564 setHrefParams(elem, function (params) {
565 params.set("si", si);
566 });
567 }
568 }
569
570 // Update id's href to reflect current selection whenever it is
571 // liable to be followed.

Callers

nothing calls this directly

Calls 2

setHrefParamsFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…