go tool pprof interpretation

65 views Asked by At

I am using list command in go tool pprof to analyse heap profile. On using the list command I am expecting to see lines in source that allocates specified amount of memory. This is how my result looks like.

(pprof) list getItems

Total: 259.09MB ROUTINE ======================== ddb.(*ItemDL).getEvents in /bld/src/my-repo/ddb/item_process_dl.go

     0   322.15MB (flat, cum) 124.34% of Total
     .          .    201:       ExpressionAttributeValues: expr.Values(),
     .          .    202:       //Limit:                     aws.Int64(1000),
     .          .    203:   }
     .          .    204:   if nil != lastEvaluatedKey {
     .          .    205:       params.SetExclusiveStartKey(lastEvaluatedKey)
     .   163.08MB    206:   }

//some more souce code

     .           .    266:          LaunchTS: qItem.LaunchTS + svcparam.TimeToBumpUp,
     .    21.01MB    267:       }

Why are the values pointing to lines having no source code and just }. How to interpret the above results ?

0

There are 0 answers