aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2021-09-08 10:51:06 -0400
committerDmitri Shuralyov <dmitshur@golang.org>2021-09-08 15:36:36 +0000
commit9581d891ab8c88bbf9e5b5142926fbca653551e6 (patch)
tree3f563b03dc6bdf9f7c8c478f682995b236ae415f /src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
parent8214257347b16a03464ace16bbcf6346fc784a3e (diff)
downloadgo-9581d891ab8c88bbf9e5b5142926fbca653551e6.tar.xz
cmd/pprof: update vendored github.com/google/pprof
Pull in the latest published version of github.com/google/pprof that is available at this time in the Go 1.18 development cycle. Done with: go get -d github.com/google/pprof@latest go mod tidy go mod vendor For #36905. Change-Id: Ib25aa38365ec70a0bed2a8a6527e5823ab9f9ded Reviewed-on: https://go-review.googlesource.com/c/go/+/348410 Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go')
-rw-r--r--src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go b/src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
index b8e8b50b94..b9c73271b8 100644
--- a/src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
+++ b/src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
@@ -132,6 +132,10 @@ a {
align-items: center;
justify-content: center;
}
+.menu-name a {
+ text-decoration: none;
+ color: #212121;
+}
.submenu {
display: none;
z-index: 1;
@@ -370,6 +374,12 @@ table tr td {
</div>
</div>
+ <div id="download" class="menu-item">
+ <div class="menu-name">
+ <a href="./download">Download</a>
+ </div>
+ </div>
+
<div>
<input id="search" type="text" placeholder="Search regexp" autocomplete="off" autocapitalize="none" size=40>
</div>