github.com/grafana/pyroscope-go/godeltaprof@v0.1.8-0.20240513050943-1b1f97373e2a/internal/pprof/stub_go20.go (about) 1 //go:build go1.16 && !go1.21 2 // +build go1.16,!go1.21 3 4 package pprof 5 6 import "runtime" 7 8 // runtime_FrameStartLine is defined in runtime/symtab.go. 9 func runtime_FrameStartLine(f *runtime.Frame) int { 10 return 0 11 } 12 13 // runtime_FrameSymbolName is defined in runtime/symtab.go. 14 func runtime_FrameSymbolName(f *runtime.Frame) string { 15 return f.Function 16 }