type runtime/pprof.Profile
23 uses
runtime/pprof (current package)
pprof.go#L174: type Profile struct {
pprof.go#L185: m map[string]*Profile
pprof.go#L188: var goroutineProfile = &Profile{
pprof.go#L194: var goroutineLeakProfile = &Profile{
pprof.go#L200: var threadcreateProfile = &Profile{
pprof.go#L206: var heapProfile = &Profile{
pprof.go#L212: var allocsProfile = &Profile{
pprof.go#L218: var blockProfile = &Profile{
pprof.go#L224: var mutexProfile = &Profile{
pprof.go#L259: profiles.m = map[string]*Profile{
pprof.go#L283: func NewProfile(name string) *Profile {
pprof.go#L292: p := &Profile{
pprof.go#L301: func Lookup(name string) *Profile {
pprof.go#L308: func Profiles() []*Profile {
pprof.go#L312: all := make([]*Profile, 0, len(profiles.m))
pprof.go#L318: slices.SortFunc(all, func(a, b *Profile) int {
pprof.go#L325: func (p *Profile) Name() string {
pprof.go#L330: func (p *Profile) Count() int {
pprof.go#L356: func (p *Profile) Add(value any, skip int) {
pprof.go#L382: func (p *Profile) Remove(value any) {
pprof.go#L403: func (p *Profile) WriteTo(w io.Writer, debug int) error {
net/http/pprof
pprof.go#L276: func (name handler) serveDeltaProfile(w http.ResponseWriter, r *http.Request, p *pprof.Profile, secStr string) {
pprof.go#L340: func collectProfile(p *pprof.Profile) (*profile.Profile, error) {