MCPcopy Create free account
hub / github.com/google/pprof / mapLine

Method mapLine

profile/merge.go:417–424  ·  view source on GitHub ↗
(src Line)

Source from the content-addressed store, hash-verified

415}
416
417func (pm *profileMerger) mapLine(src Line) Line {
418 ln := Line{
419 Function: pm.mapFunction(src.Function),
420 Line: src.Line,
421 Column: src.Column,
422 }
423 return ln
424}
425
426func (pm *profileMerger) mapFunction(src *Function) *Function {
427 if src == nil {

Callers 1

mapLocationMethod · 0.95

Calls 1

mapFunctionMethod · 0.95

Tested by

no test coverage detected