From da224a5c42e7fce7f1d190a86962b1c46be454ef Mon Sep 17 00:00:00 2001 From: Alberto Donizetti Date: Sun, 10 Apr 2016 20:14:27 +0200 Subject: [PATCH] cmd/pprof: pass the event to pprof_toggle_asm for the weblist command Fixes #15225 Change-Id: I1f85590b2c3293463c6476beebcd3256adc1bf23 Reviewed-on: https://go-review.googlesource.com/21802 Reviewed-by: Brad Fitzpatrick --- src/cmd/internal/pprof/report/source.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/internal/pprof/report/source.go b/src/cmd/internal/pprof/report/source.go index 7beea39562..608e4d561d 100644 --- a/src/cmd/internal/pprof/report/source.go +++ b/src/cmd/internal/pprof/report/source.go @@ -257,7 +257,7 @@ func printHeader(w io.Writer, rpt *Report) { // printFunctionHeader prints a function header for a weblist report. func printFunctionHeader(w io.Writer, name, path string, flatSum, cumSum int64, rpt *Report) { fmt.Fprintf(w, `

%s

%s -
+
   Total:  %10s %10s (flat, cum) %s
 `,
 		template.HTMLEscapeString(name), template.HTMLEscapeString(path),
-- 
2.48.1