// Cmdline responds with the running program's // command line, with arguments separated by NUL bytes. // The package initialization registers it as /debug/pprof/cmdline. public static void Cmdline(http.ResponseWriter w, ptr <http.Request> _addr_r) { ref http.Request r = ref _addr_r.val;
// httpGoroutines serves list of goroutine groups. private static void httpGoroutines(http.ResponseWriter w, ptr <http.Request> _addr_r) { ref http.Request r = ref _addr_r.val;
// Runs at /debug/rpc private static void ServeHTTP(this debugHTTP server, http.ResponseWriter w, ptr <http.Request> _addr_req) { ref http.Request req = ref _addr_req.val;
private static void ServeHTTP(this ptr <statusHandler> _addr_h, http.ResponseWriter w, ptr <http.Request> _addr_r) { ref statusHandler h = ref _addr_h.val;
// flamegraph generates a web page containing a flamegraph. private static void flamegraph(this ptr <webInterface> _addr_ui, http.ResponseWriter w, ptr <http.Request> _addr_req) { ref webInterface ui = ref _addr_ui.val;