symbolizer

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package symbolizer provides a routine to populate a profile with symbol, file and line number information. It relies on the addr2liner and demangle packages to do the actual work.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Demangle

func Demangle(prof *profile.Profile, force bool, demanglerMode string)

Demangle updates the function names in a profile with demangled C++ names, simplified according to demanglerMode. If force is set, overwrite any names that appear already demangled.

Types

type Symbolizer

type Symbolizer struct {
	Obj       plugin.ObjTool
	UI        plugin.UI
	Transport http.RoundTripper
}

Symbolizer implements the plugin.Symbolize interface.

func (*Symbolizer) Symbolize

func (s *Symbolizer) Symbolize(mode string, sources plugin.MappingSources, p *profile.Profile) error

Symbolize attempts to symbolize profile p. First uses binutils on local binaries; if the source is a URL it attempts to get any missed entries using symbolz.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL