MCPcopy Create free account
hub / github.com/dispatchrun/wzprof / String

Method String

wzprof.go:424–432  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

422}
423
424func (st stackTrace) String() string {
425 sb := new(strings.Builder)
426 for i, n := 0, st.len(); i < n; i++ {
427 frame := st.index(i)
428 fndef := frame.fn.Definition()
429 fmt.Fprintf(sb, "%016x: %s\n", frame.pc, fndef.DebugName())
430 }
431 return sb.String()
432}
433
434var stackTraceHashSeed = maphash.MakeSeed()
435

Callers 1

pyUnicodeUTf8Function · 0.45

Calls 4

lenMethod · 0.95
indexMethod · 0.95
DefinitionMethod · 0.45
DebugNameMethod · 0.45

Tested by

no test coverage detected