...

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. Never attempts symbolization of addresses from unsymbolizable system mappings as those may look negative - e.g. "[vsyscall]".