]> Cypherpunks repositories - gostls13.git/commit
internal/trace: add "command" to convert text traces to raw
authorMichael Pratt <mpratt@google.com>
Fri, 31 Oct 2025 21:37:26 +0000 (17:37 -0400)
committerMichael Pratt <mpratt@google.com>
Mon, 10 Nov 2025 20:21:57 +0000 (12:21 -0800)
commitbf58e7845eeba5f253f152f5f86523a7582d2a26
tree995d0712cdcf5021ab60b6b02150b5cab4c3edcf
parent052c192a4cf853f0a613eacc623beca35f8c0e24
internal/trace: add "command" to convert text traces to raw

This is primarily helpful for parsing traces dumped via CI.

cmd/dist doesn't like commands in std which are not actually part of the
Go distribution. So rather than using a real command, this is actually a
test which does the conversion.

Change-Id: I6a6a636c829a4acc0bce8cf7548105ad59d83c67
Reviewed-on: https://go-review.googlesource.com/c/go/+/716882
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/trace/testtrace/helpers.go
src/internal/trace/testtrace/helpers_test.go [new file with mode: 0644]