1
0
mirror of https://github.com/DataDog/go-profiler-notes.git synced 2025-07-12 23:50:13 +02:00
This commit is contained in:
Felix Geisendörfer
2021-04-05 16:39:12 +02:00
parent b393c68281
commit 4e4ad567df
2 changed files with 31 additions and 15 deletions

View File

@ -48,7 +48,7 @@ func debugSymtab(gopclntab []byte) error {
for _, pc := range callers() {
file, line, fn := table.PCToLine(uint64(pc))
fmt.Printf("%s() %s:%d\n", fn.Name, file, line)
fmt.Printf("%x: %s() %s:%d\n", pc, fn.Name, file, line)
}
return nil
}