Documentation ¶
Index ¶
- Constants
- Variables
- func FormatPositionAndName(str string, t FormatType) string
- func FormatPostionAndNames(strs []string, t FormatType) []string
- func GetProfileID(meta *Meta) string
- func IsLegalType(t Type) bool
- type AggType
- type CallbackFunc
- type Format
- type FormatType
- type Input
- type Meta
- type RawProfile
- type SequenceType
- type Stack
- type Type
- type Units
Constants ¶
View Source
const ( PyroscopeNodeJs = "node" PyroscopeGolang = "go" PyroscopeRust = "rs" PyroscopeDotnet = "dotnet" PyroscopeRuby = "rb" PyroscopePython = "py" PyroscopeJava = "java" PyroscopeEbpf = "ebpf" PyroscopePhp = "php" Unknown = "unknown" )
Variables ¶
View Source
var ( CPUType = Type{Name: "cpu", Kind: "profile_cpu"} MemType = Type{Name: "mem", Kind: "profile_mem"} MutexType = Type{Name: "mutex", Kind: "profile_mutex"} BlockType = Type{Name: "block", Kind: "profile_block"} ExceptionType = Type{Name: "exception", Kind: "profile_exception"} GoroutineType = Type{Name: "goroutines", Kind: "profile_goroutines"} UnknownType = Type{Name: "unknown", Kind: "profile_unknown"} )
Functions ¶
func FormatPositionAndName ¶
func FormatPositionAndName(str string, t FormatType) string
func FormatPostionAndNames ¶
func FormatPostionAndNames(strs []string, t FormatType) []string
func GetProfileID ¶
func IsLegalType ¶
Types ¶
type CallbackFunc ¶
type FormatType ¶
type FormatType string
type Input ¶
type Input struct { Profile RawProfile Metadata Meta }
type RawProfile ¶
type Type ¶
func DetectProfileType ¶
Click to show internal directories.
Click to hide internal directories.