diff options
| author | Agniva De Sarker <agnivade@yahoo.co.in> | 2018-05-09 12:30:43 +0530 |
|---|---|---|
| committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | 2018-05-10 15:40:01 +0000 |
| commit | ef24fd739bcf94e3f703af324afdeefa6577dc74 (patch) | |
| tree | f3fb5730b922a44c5260de475b66f718a7c0be5f /src/database/sql/sql.go | |
| parent | e4172e5f5e9b194ec300ddc2bd6678a8e1d34454 (diff) | |
| download | go-ef24fd739bcf94e3f703af324afdeefa6577dc74.tar.xz | |
net/http/pprof: update the /debug/pprof endpoint
- Documented the duration parameter in Profile() to match with Trace().
- Properly handling the error from strconv.ParseInt to match with Trace().
- Updated the profiles tables to include additional handlers exposed from
net/http/pprof. Added a separate section at the bottom to explain what
the profiles are and how to use them.
Fixes #24380
Change-Id: I8b7e100d6826a4feec81f29f918e7a7f7ccc71a0
Reviewed-on: https://go-review.googlesource.com/112495
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
