aboutsummaryrefslogtreecommitdiff
path: root/src/internal/trace
diff options
context:
space:
mode:
authorAinar Garipov <gugl.zadolbal@gmail.com>2015-06-11 16:49:38 +0300
committerBrad Fitzpatrick <bradfitz@golang.org>2015-06-11 14:18:57 +0000
commit7f9f70e5b65d116539b5c6ee586ea12988682a4f (patch)
treee5790f78d97cd92a1642ceea499f4bdc963fa49d /src/internal/trace
parent15c8ab00e88419b584eefd38ec6ddcdbea3e488c (diff)
downloadgo-7f9f70e5b65d116539b5c6ee586ea12988682a4f.tar.xz
all: fix misprints in comments
These were found by grepping the comments from the go code and feeding the output to aspell. Change-Id: Id734d6c8d1938ec3c36bd94a4dbbad577e3ad395 Reviewed-on: https://go-review.googlesource.com/10941 Reviewed-by: Aamir Khan <syst3m.w0rm@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/internal/trace')
-rw-r--r--src/internal/trace/parser.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/trace/parser.go b/src/internal/trace/parser.go
index 8d48bfdfe6..330671325d 100644
--- a/src/internal/trace/parser.go
+++ b/src/internal/trace/parser.go
@@ -454,7 +454,7 @@ func postProcessTrace(events []*Event) error {
g.evStart = ev
p.g = ev.G
if g.evCreate != nil {
- // +1 because symblizer expects return pc.
+ // +1 because symbolizer expects return pc.
ev.Stk = []*Frame{&Frame{PC: g.evCreate.Args[1] + 1}}
g.evCreate = nil
}
@@ -701,7 +701,7 @@ const (
EvHeapAlloc = 33 // memstats.heap_alloc change [timestamp, heap_alloc]
EvNextGC = 34 // memstats.next_gc change [timestamp, next_gc]
EvTimerGoroutine = 35 // denotes timer goroutine [timer goroutine id]
- EvFutileWakeup = 36 // denotes that the revious wakeup of this goroutine was futile [timestamp]
+ EvFutileWakeup = 36 // denotes that the previous wakeup of this goroutine was futile [timestamp]
EvCount = 37
)