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

Function addAction

internal/driver/html/common.js:690–696  ·  view source on GitHub ↗
(id, action)

Source from the content-addressed store, hash-verified

688
689 // Bind action to button with specified id.
690 function addAction(id, action) {
691 const btn = document.getElementById(id);
692 if (btn != null) {
693 btn.addEventListener('click', action);
694 btn.addEventListener('touchstart', action);
695 }
696 }
697
698 addAction('details', handleDetails);
699 initConfigManager();

Callers 1

viewerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…