]> Cypherpunks repositories - gostls13.git/commit
runtime: remove runtime frames from stacks in traces
authorDmitry Vyukov <dvyukov@google.com>
Sat, 21 Feb 2015 18:01:40 +0000 (21:01 +0300)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 10 Mar 2015 14:46:15 +0000 (14:46 +0000)
commit919fd24884df1873755e4837f400372ce71b160b
treee848e2cdcad7b97043ea8fd50bc5d0d55e3725a0
parentfdd49d2be02fa62ecbf547e4224663b562077425
runtime: remove runtime frames from stacks in traces

Stip uninteresting bottom and top frames from trace stacks.
This makes both binary and json trace files smaller,
and also makes stacks shorter and more readable in the viewer.

Change-Id: Ib9c80ccc280504f0e235f867f53f1d2652c41583
Reviewed-on: https://go-review.googlesource.com/5523
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Dmitry Vyukov <dvyukov@google.com>
16 files changed:
src/cmd/trace/trace.go
src/internal/trace/parser.go
src/runtime/chan.go
src/runtime/mfinal.go
src/runtime/mgc.go
src/runtime/mgcsweep.go
src/runtime/netpoll.go
src/runtime/pprof/trace_stack_test.go [new file with mode: 0644]
src/runtime/pprof/trace_test.go
src/runtime/proc.go
src/runtime/proc1.go
src/runtime/runtime2.go
src/runtime/select.go
src/runtime/sema.go
src/runtime/time.go
src/runtime/trace.go