go/src/cmd
Michael Anthony Knyszek 64c12bafea cmd/trace/v2: add support for goroutine filtering
This change adds support for the trace?goid=<goid> endpoint to the trace
tool for v2 traces.

In effect, this change actually implements a per-goroutine view. I tried
to add a link to the main page to enable a "view by goroutines" view
without filtering, but the web trace viewer broke the browser tab when
there were a few hundred goroutines. The risk of a browser hang probably
isn't worth the cases where this is nice, especially since filtering by
goroutine already works. Unfortunate, but c'est l'vie. Might be worth
revisiting if we change out the web viewer in the future.

For #60773.
For #63960.

Change-Id: I8e29f4ab8346af6708fd8824505c30f2c43db796
Reviewed-on: https://go-review.googlesource.com/c/go/+/543595
TryBot-Bypass: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2023-11-21 21:29:43 +00:00
..
addr2line
api cmd/api: use api/next directory for beta versions 2023-11-14 15:24:21 +00:00
asm all: add floating point option for ARM targets 2023-11-20 17:19:36 +00:00
buildid
cgo all: add missing copyright header 2023-11-17 23:34:11 +00:00
compile cmd/compile/internal/walk: copy SSA-able variables 2023-11-21 20:34:12 +00:00
covdata cmd: fix mismatched symbols 2023-10-03 12:57:25 +00:00
cover cmd: fix mismatched symbols 2023-10-03 12:57:25 +00:00
dist cmd/dist, cmd/link, internal, runtime: implement buildmode=plugin for linux/loong64 2023-11-21 18:56:21 +00:00
distpack cmd/distpack: include directory entries in tar files 2023-08-11 17:37:52 +00:00
doc cmd/doc: print bugs with -all flag 2023-09-07 19:16:55 +00:00
fix cmd/fix: use reflect.TypeFor for known types 2023-08-07 00:25:49 +00:00
go cmd/trace: add almost full support for v2 traces in the trace viewer 2023-11-21 20:45:06 +00:00
gofmt io/fs, path/filepath, cmd/gofmt: replace statDirEntry with fs.FileInfoToDirEntry 2023-09-12 20:27:28 +00:00
internal cmd/trace: add almost full support for v2 traces in the trace viewer 2023-11-21 20:45:06 +00:00
link cmd/dist, cmd/link, internal, runtime: implement buildmode=plugin for linux/loong64 2023-11-21 18:56:21 +00:00
nm
objdump
pack
pprof runtime,runtime/pprof: get memory mappings on darwin. 2023-08-03 16:07:59 +00:00
test2json
tools
trace cmd/trace/v2: add support for goroutine filtering 2023-11-21 21:29:43 +00:00
vendor cmd: go get golang.org/x/tools@8966034e and revendor 2023-11-20 21:52:54 +00:00
vet cmd/vet: add lost checks in doc 2023-11-21 00:17:30 +00:00
README.vendor
go.mod cmd: go get golang.org/x/tools@8966034e and revendor 2023-11-20 21:52:54 +00:00
go.sum cmd: go get golang.org/x/tools@8966034e and revendor 2023-11-20 21:52:54 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.