]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.19: mention runtime/trace's CPU samples
authorRhys Hiltner <rhys@justin.tv>
Fri, 27 May 2022 00:41:07 +0000 (17:41 -0700)
committerRhys Hiltner <rhys@justin.tv>
Sat, 28 May 2022 00:28:55 +0000 (00:28 +0000)
Change-Id: Ia8becc3e28523e9b1da4f7a274c800309add331a
Reviewed-on: https://go-review.googlesource.com/c/go/+/408994
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Rhys Hiltner <rhys@justin.tv>

doc/go1.19.html

index 76d4bc7eea5c9b659c7cccfaefb143104d53aee8..a83a916c725d393dfcf19ba30edb4a84a1d6f48e 100644 (file)
@@ -331,6 +331,16 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl><!-- runtime/race -->
 
+<dl id="runtime/trace"><dt><a href="/pkg/runtime/trace/">runtime/trace</a></dt>
+  <dd>
+    <p><!-- CL 400795 -->
+      When used together with the
+      <a href="/pkg/runtime/pprof#StartCPUProfile">CPU profiler</a>, the
+      execution trace includes CPU profile samples.
+    </p>
+  </dd>
+</dl><!-- runtime/trace -->
+
 <dl id="sort"><dt><a href="/pkg/sort/">sort</a></dt>
   <dd>
     <p><!-- CL 371574 -->