...
Run Format

Package symbolz

import "cmd/vendor/github.com/google/pprof/internal/symbolz"
Overview
Index

Overview ▾

Package symbolz symbolizes a profile using the output from the symbolz service.

func Symbolize

func Symbolize(p *profile.Profile, force bool, sources plugin.MappingSources, syms func(string, string) ([]byte, error), ui plugin.UI) error

Symbolize symbolizes profile p by parsing data returned by a symbolz handler. syms receives the symbolz query (hex addresses separated by '+') and returns the symbolz output in a string. If force is false, it will only symbolize locations from mappings not already marked as HasFunctions. Does not skip unsymbolizable files since the symbolz handler can be flexible enough to handle some of those cases such as JIT locations in //anon.