]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.15: include changes in net/http/pprof and runtime/pprof
authorHana (Hyang-Ah) Kim <hyangah@gmail.com>
Fri, 24 Apr 2020 20:57:07 +0000 (16:57 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Fri, 24 Apr 2020 22:12:41 +0000 (22:12 +0000)
net/http/pprof: delta profile support
runtime/pprof: profile labels plumbing for goroutine profiles

Change-Id: I92e750dc894c8c6b3c3ba10f7be58bb541d3c289
Reviewed-on: https://go-review.googlesource.com/c/go/+/230023
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.15.html

index 806d7463cd1537d5d9f8551efec93a95b2761d90..a4f78c1c78a991fc1943b431dfb9733c6faed763 100644 (file)
@@ -172,6 +172,17 @@ TODO
   </dd>
 </dl>
 
+<dl id="net/http/pprof"><dt><a href="/pkg/net/http/pprof/">net/http/pprof</a></dt>
+  <dd>
+    <p><!-- CL 147598, 229537 -->
+      All profile endpoints now support a "seconds" parameter. When present,
+      the endpoint profiles for the specified number of seconds and reports the difference.
+      The meaning of the "seconds" parameter in the <code>cpu</code> profile and
+      the trace endpoints is unchanged.
+    </p>
+  </dd>
+</dl>
+
 <dl id="net/url"><dt><a href="/pkg/net/url/">net/url</a></dt>
   <dd>
     <p><!-- CL 227645 -->
@@ -224,6 +235,16 @@ TODO
   </dd>
 </dl>
 
+<dl id="pkg-runtime-pprof"><dt><a href="/pkg/runtime/pprof">runtime/pprof</a></dt>
+  <dd>
+    <p><!-- CL 189318 -->
+      The goroutine profile includes the profile labels associated with each goroutine
+      at the time of profiling. This feature is not yet implemented for the profile
+      reported with <code>debug=2</code>.
+    </p>
+  </dd>
+</dl>
+
 <dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt>
   <dd>
     <p><!-- CL 205899, golang.org/issue/33762 -->