]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add release notes for a couple minor tracing features
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 24 May 2024 18:46:48 +0000 (18:46 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 24 May 2024 21:37:09 +0000 (21:37 +0000)
For #65614.

Change-Id: I759bf671b8f84c5224798b0dfaee6b158fdcc95a
Reviewed-on: https://go-review.googlesource.com/c/go/+/587927
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

doc/next/3-tools.md
doc/next/6-stdlib/99-minor/runtime/trace/65319.md [new file with mode: 0644]

index 0526c37687af7d186299c52bd3d335c2d019648e..ae94c9bcf735d8f7cc15b61d5b4188969880e413 100644 (file)
@@ -53,3 +53,12 @@ module whose go.mod file specifies `go 1.21`.
 [cmd/cgo] supports the new `-ldflags` flag for passing flags to the C linker.
 The `go` command uses it automatically, avoiding "argument list too long"
 errors with a very large `CGO_LDFLAGS`.
+
+### Trace {#trace}
+
+<!-- go.dev/issue/65316 -->
+The `trace` tool now better tolerates partially broken traces by attempting to
+recover what trace data it can. This functionality is particularly helpful when
+viewing a trace that was collected during a program crash, since the trace data
+leading up to the crash will now [be recoverable](/issue/65319) under most
+circumstances.
diff --git a/doc/next/6-stdlib/99-minor/runtime/trace/65319.md b/doc/next/6-stdlib/99-minor/runtime/trace/65319.md
new file mode 100644 (file)
index 0000000..b180368
--- /dev/null
@@ -0,0 +1,4 @@
+<!-- go.dev/issue/65319 -->
+The runtime now explicitly flushes trace data when a program crashes due to an
+uncaught panic. This means that more complete trace data will be available in a
+trace if the program crashes while tracing is active.