The go runtime generates profiles in profile.proto format without symbols or mappings. The expectation is that these can be symbolized by passing the binary name to pprof. The mechanism pprof uses relies to override the binary relies on there being a mapping, and previously we moved the creation of fake mappings to the legacy profile handlers, so profiles parsed from profile.proto with no mappings can no longer be symbolized. Special case this situation to create a fake mapping and associate all locations to it if there is a command line override but no mappings.
|
|
||
317 |
|
317 |
|
318 |
|
318 |
|
319 |
|
319 |
|
320 |
|
|
|
321 |
|
320 |
|
322 |
|
|
|
|
321 |
|
|
323 |
|
322 |
|
324 |
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
323 |
|
335 |
|
324 |
|
336 |
|
325 |
|
|
|
||
360 |
|
349 |
|
361 |
|
350 |
|
362 |
|
351 |
|
|
352 |
|
|
|
353 |
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
363 |
|
374 |
|
364 |
|
375 |
|
365 |
|
376 |
|
|
|
||
161 |
|
161 |
|
162 |
|
162 |
|
163 |
|
163 |
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
167 |
|
172 |
|
168 |
|
|
|
|
173 |
|
|
169 |
|
174 |
|
170 |
|
|
|
|
175 |
|
|
171 |
|
176 |
|
172 |
|
177 |
|
173 |
|
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
174 |
|
187 |
|
175 |
|
188 |
|
176 |
|
189 |
|