Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Exists(ctx context.Context, buildID, hash string) (bool, error) Upload(ctx context.Context, buildID, hash string, f io.Reader) (uint64, error) }
func NewNoopClient ¶
func NewNoopClient() Client
type DebugInfo ¶ added in v0.6.0
func (*DebugInfo) EnsureUploaded ¶ added in v0.6.0
func (di *DebugInfo) EnsureUploaded(ctx context.Context, objFiles []*objectfile.MappedObjectFile)
EnsureUploaded ensures that the extracted or the found debuginfo for the given buildID is uploaded.
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
Extractor extracts debug information from a binary.
func NewExtractor ¶
NewExtractor creates a new Extractor.
func (*Extractor) Extract ¶
Extract extracts debug information from the given executable. Cleaning up the temporary directory and the interim file is the caller's responsibility.
func (*Extractor) ExtractAll ¶ added in v0.6.0
ExtractAll extracts debug information from the given executables. It consumes a map of file sources to extract and a destination io.Writer.
type Finder ¶ added in v0.6.0
type Finder struct {
// contains filtered or unexported fields
}
Finder finds the separate debug information files on the system.
func (*Finder) Find ¶ added in v0.6.0
func (f *Finder) Find(ctx context.Context, objFile *objectfile.MappedObjectFile) (string, error)
Find finds the separate debug file for the given object file.
type SourceInfo ¶ added in v0.9.0
SourceInfo source information of the given debug information.
type Uploader ¶ added in v0.6.0
type Uploader struct {
// contains filtered or unexported fields
}
Uploader uploads debug information to the Parca server.
func NewUploader ¶ added in v0.6.0
NewUploader creates a new Uploader.