Boris Nagaev il y a 7 ans
Parent
révision
d78d1eaf2b

+ 1
- 1
internal/driver/driver_test.go Voir le fichier

@@ -42,7 +42,7 @@ func TestParse(t *testing.T) {
42 42
 	pprofCommands["weblist"].postProcess = nil
43 43
 
44 44
 	// Our mockObjTool.Open will always return success, causing
45
-	// driver.locateBinaries to "find" the binaries below in a non-existant
45
+	// driver.locateBinaries to "find" the binaries below in a non-existent
46 46
 	// directory. As a workaround, point the search path to the fake
47 47
 	// directory containing out fake binaries.
48 48
 	savePath := os.Getenv("PPROF_BINARY_PATH")

+ 2
- 2
internal/graph/graph_test.go Voir le fichier

@@ -171,7 +171,7 @@ func createExpectedEdges(parent expectedNode, children ...expectedNode) {
171 171
 	}
172 172
 }
173 173
 
174
-// createTestCase1 creates a test case that initally looks like:
174
+// createTestCase1 creates a test case that initially looks like:
175 175
 //     0
176 176
 //     |(5)
177 177
 //     1
@@ -255,7 +255,7 @@ func createTestCase2() trimTreeTestcase {
255 255
 	}
256 256
 }
257 257
 
258
-// createTestCase3 creates an initally empty graph and expects an empty graph
258
+// createTestCase3 creates an initially empty graph and expects an empty graph
259 259
 // after trimming.
260 260
 func createTestCase3() trimTreeTestcase {
261 261
 	graph := &Graph{make(Nodes, 0)}

+ 1
- 1
internal/symbolz/symbolz.go Voir le fichier

@@ -83,7 +83,7 @@ func symbolz(source string) string {
83 83
 
84 84
 // symbolizeMapping symbolizes locations belonging to a Mapping by querying
85 85
 // a symbolz handler. An offset is applied to all addresses to take care of
86
-// normalization occured for merged Mappings.
86
+// normalization occurred for merged Mappings.
87 87
 func symbolizeMapping(source string, offset int64, syms func(string, string) ([]byte, error), m *profile.Mapping, p *profile.Profile) error {
88 88
 	// Construct query of addresses to symbolize.
89 89
 	var a []string