mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
net/http: format pprof.go
Properly formatted net/http/pprof.go to correct
inconsistent whitespaces between keys and values
for profileSupportsDelta.
Change-Id: Iea1515b4289de95862d7eb3af5b8d8d13df2b990
GitHub-Last-Rev: 381d2d3ee7
GitHub-Pull-Request: golang/go#75769
Reviewed-on: https://go-review.googlesource.com/c/go/+/709415
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
e5d004c7a8
commit
e1ca1de123
1 changed files with 7 additions and 7 deletions
|
@ -352,13 +352,13 @@ func collectProfile(p *pprof.Profile) (*profile.Profile, error) {
|
|||
}
|
||||
|
||||
var profileSupportsDelta = map[handler]bool{
|
||||
"allocs": true,
|
||||
"block": true,
|
||||
"goroutineleak": true,
|
||||
"goroutine": true,
|
||||
"heap": true,
|
||||
"mutex": true,
|
||||
"threadcreate": true,
|
||||
"allocs": true,
|
||||
"block": true,
|
||||
"goroutineleak": true,
|
||||
"goroutine": true,
|
||||
"heap": true,
|
||||
"mutex": true,
|
||||
"threadcreate": true,
|
||||
}
|
||||
|
||||
var profileDescriptions = map[string]string{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue