aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/pprof
diff options
context:
space:
mode:
authorMartin Möhrmann <martisch@uos.de>2016-02-24 11:55:20 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2016-02-24 18:42:29 +0000
commitfdd0179bb1fdd70d405929b78c7d2fb6b61369b0 (patch)
tree5dadc692c0e8ec767846f9dfc0fee73338d0b5b8 /src/cmd/pprof
parent4feb47bc765d2cd7d774b0a28b06e8d81a1affe7 (diff)
downloadgo-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.tar.gz
go-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.zip
all: fix typos and spelling
Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913 Reviewed-on: https://go-review.googlesource.com/19829 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/pprof')
-rw-r--r--src/cmd/pprof/internal/report/report.go2
-rw-r--r--src/cmd/pprof/internal/report/source.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/pprof/internal/report/report.go b/src/cmd/pprof/internal/report/report.go
index 0265e2384c..b6694f559f 100644
--- a/src/cmd/pprof/internal/report/report.go
+++ b/src/cmd/pprof/internal/report/report.go
@@ -1340,7 +1340,7 @@ const (
addressOrder
)
-// sort reoders the entries in a report based on the specified
+// sort reorders the entries in a report based on the specified
// ordering criteria. The result is sorted in decreasing order for
// numeric quantities, alphabetically for text, and increasing for
// addresses.
diff --git a/src/cmd/pprof/internal/report/source.go b/src/cmd/pprof/internal/report/source.go
index 73ae1b4ea2..908be21424 100644
--- a/src/cmd/pprof/internal/report/source.go
+++ b/src/cmd/pprof/internal/report/source.go
@@ -408,7 +408,7 @@ func getMissingFunctionSource(filename string, asm map[int]nodes, start, end int
return fnodes, filename
}
-// adjustSourcePath adjusts the pathe for a source file by trimmming
+// adjustSourcePath adjusts the path for a source file by trimming
// known prefixes and searching for the file on all parents of the
// current working dir.
func adjustSourcePath(path string) (*os.File, string, error) {