You've already forked go-profiler-notes
mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2025-07-12 23:50:13 +02:00
Writing
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user