]> Cypherpunks repositories - gostls13.git/commit
internal/trace: move maxArgs into tracev2 and validate specs
authorMichael Anthony Knyszek <mknyszek@google.com>
Sat, 1 Feb 2025 05:26:17 +0000 (05:26 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 11 Feb 2025 19:22:32 +0000 (11:22 -0800)
commit0158ddad9893ea1ab332be39f192aefdbd7b65c8
tree279584d3b40a01c19c276521cd7e91bdc31f66d1
parentfadfe2fc80f6b37e99b3e7aa068112ff539717c9
internal/trace: move maxArgs into tracev2 and validate specs

This change moves maxArgs to tracev2 and renames it MaxTimedEventArgs.
It also updates the tests to make sure the specs conform to this
requirement.

Change-Id: I7b0c888a4dfd83306a470a4c9b0f9e44fe2e7818
Reviewed-on: https://go-review.googlesource.com/c/go/+/646016
TryBot-Bypass: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
src/internal/trace/base.go
src/internal/trace/tracev2/events.go
src/internal/trace/tracev2/events_test.go