From: Alberto Donizetti Date: Sun, 10 Apr 2016 18:14:27 +0000 (+0200) Subject: cmd/pprof: pass the event to pprof_toggle_asm for the weblist command X-Git-Tag: go1.7beta1~736 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=da224a5c42e7fce7f1d190a86962b1c46be454ef;p=gostls13.git 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 --- 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),