The highest tagged major version is
v2 .
Discover Packages
github.com/grafana/pyroscope
pkg
og
convert
pprof
strprofile
package
Version:
v0.0.103-dev
Opens a new window with list of versions in this module.
Published: Apr 30, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CompactLocation struct {
ID uint64 `json:"id,omitempty"`
Address string `json:"address,omitempty"`
Lines []string `json:"lines,omitempty"`
Mapping string `json:"mapping,omitempty"`
}
type CompactProfile struct {
SampleTypes []SampleType `json:"sample_types"`
Samples []CompactSample `json:"samples"`
TimeNanos string `json:"time_nanos,omitempty"`
DurationNanos string `json:"duration_nanos,omitempty"`
Period string `json:"period,omitempty"`
}
type CompactSample struct {
Locations []CompactLocation `json:"locations,omitempty"`
Values string `json:"values"`
Labels string `json:"labels,omitempty"`
}
type Function struct {
ID uint64 `json:"id,omitempty"`
Name string `json:"name"`
SystemName string `json:"system_name,omitempty"`
Filename string `json:"filename,omitempty"`
StartLine int64 `json:"start_line,omitempty"`
}
type Label struct {
Key string `json:"key"`
Value string `json:"value"`
}
type Line struct {
Function *Function `json:"function"`
Line int64 `json:"line,omitempty"`
}
type Location struct {
ID uint64 `json:"id,omitempty"`
Address string `json:"address,omitempty"`
Lines []Line `json:"lines,omitempty"`
Mapping *Mapping `json:"mapping,omitempty"`
}
type Mapping struct {
ID uint64 `json:"id,omitempty"`
Start string `json:"start"`
Limit string `json:"limit"`
Offset string `json:"offset,omitempty"`
Filename string `json:"filename,omitempty"`
BuildID string `json:"build_id,omitempty"`
}
type Options struct {
NoPrettyPrint bool
NoDuration bool
NoTime bool
NoCompact bool
IncludeIDs bool
}
type Profile struct {
SampleTypes []SampleType `json:"sample_types"`
Samples []Sample `json:"samples"`
TimeNanos string `json:"time_nanos,omitempty"`
DurationNanos string `json:"duration_nanos,omitempty"`
Period string `json:"period,omitempty"`
}
type Sample struct {
Locations []Location `json:"locations,omitempty"`
Values []int64 `json:"values"`
Labels []Label `json:"labels,omitempty"`
}
type SampleType struct {
Type string `json:"type"`
Unit string `json:"unit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.