Documentation ¶
Index ¶
- Variables
- type Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) GetFilename() string
- func (x *Function) GetId() []byte
- func (x *Function) GetName() string
- func (x *Function) GetStartLine() int64
- func (x *Function) GetSystemName() string
- func (m *Function) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Function) MarshalToVT(dAtA []byte) (int, error)
- func (m *Function) MarshalVT() (dAtA []byte, err error)
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (m *Function) SizeVT() (n int)
- func (x *Function) String() string
- func (m *Function) UnmarshalVT(dAtA []byte) error
- type Line
- func (*Line) Descriptor() ([]byte, []int)deprecated
- func (x *Line) GetFunctionId() []byte
- func (x *Line) GetLine() int64
- func (m *Line) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Line) MarshalToVT(dAtA []byte) (int, error)
- func (m *Line) MarshalVT() (dAtA []byte, err error)
- func (*Line) ProtoMessage()
- func (x *Line) ProtoReflect() protoreflect.Message
- func (x *Line) Reset()
- func (m *Line) SizeVT() (n int)
- func (x *Line) String() string
- func (m *Line) UnmarshalVT(dAtA []byte) error
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetAddress() uint64
- func (x *Location) GetId() []byte
- func (x *Location) GetIsFolded() bool
- func (x *Location) GetMappingId() []byte
- func (m *Location) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Location) MarshalToVT(dAtA []byte) (int, error)
- func (m *Location) MarshalVT() (dAtA []byte, err error)
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (m *Location) SizeVT() (n int)
- func (x *Location) String() string
- func (m *Location) UnmarshalVT(dAtA []byte) error
- type LocationLines
- func (*LocationLines) Descriptor() ([]byte, []int)deprecated
- func (x *LocationLines) GetId() []byte
- func (x *LocationLines) GetLines() []*Line
- func (m *LocationLines) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LocationLines) MarshalToVT(dAtA []byte) (int, error)
- func (m *LocationLines) MarshalVT() (dAtA []byte, err error)
- func (*LocationLines) ProtoMessage()
- func (x *LocationLines) ProtoReflect() protoreflect.Message
- func (x *LocationLines) Reset()
- func (m *LocationLines) SizeVT() (n int)
- func (x *LocationLines) String() string
- func (m *LocationLines) UnmarshalVT(dAtA []byte) error
- type Mapping
- func (*Mapping) Descriptor() ([]byte, []int)deprecated
- func (x *Mapping) GetBuildId() string
- func (x *Mapping) GetFile() string
- func (x *Mapping) GetHasFilenames() bool
- func (x *Mapping) GetHasFunctions() bool
- func (x *Mapping) GetHasInlineFrames() bool
- func (x *Mapping) GetHasLineNumbers() bool
- func (x *Mapping) GetId() []byte
- func (x *Mapping) GetLimit() uint64
- func (x *Mapping) GetOffset() uint64
- func (x *Mapping) GetStart() uint64
- func (m *Mapping) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Mapping) MarshalToVT(dAtA []byte) (int, error)
- func (m *Mapping) MarshalVT() (dAtA []byte, err error)
- func (*Mapping) ProtoMessage()
- func (x *Mapping) ProtoReflect() protoreflect.Message
- func (x *Mapping) Reset()
- func (m *Mapping) SizeVT() (n int)
- func (x *Mapping) String() string
- func (m *Mapping) UnmarshalVT(dAtA []byte) error
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)deprecated
- func (x *Sample) GetLabels() map[string]*SampleLabel
- func (x *Sample) GetLocationIds() [][]byte
- func (x *Sample) GetNumLabels() map[string]*SampleNumLabel
- func (x *Sample) GetNumUnits() map[string]*SampleNumUnit
- func (m *Sample) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Sample) MarshalToVT(dAtA []byte) (int, error)
- func (m *Sample) MarshalVT() (dAtA []byte, err error)
- func (*Sample) ProtoMessage()
- func (x *Sample) ProtoReflect() protoreflect.Message
- func (x *Sample) Reset()
- func (m *Sample) SizeVT() (n int)
- func (x *Sample) String() string
- func (m *Sample) UnmarshalVT(dAtA []byte) error
- type SampleLabel
- func (*SampleLabel) Descriptor() ([]byte, []int)deprecated
- func (x *SampleLabel) GetLabels() []string
- func (m *SampleLabel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SampleLabel) MarshalToVT(dAtA []byte) (int, error)
- func (m *SampleLabel) MarshalVT() (dAtA []byte, err error)
- func (*SampleLabel) ProtoMessage()
- func (x *SampleLabel) ProtoReflect() protoreflect.Message
- func (x *SampleLabel) Reset()
- func (m *SampleLabel) SizeVT() (n int)
- func (x *SampleLabel) String() string
- func (m *SampleLabel) UnmarshalVT(dAtA []byte) error
- type SampleNumLabel
- func (*SampleNumLabel) Descriptor() ([]byte, []int)deprecated
- func (x *SampleNumLabel) GetNumLabels() []int64
- func (m *SampleNumLabel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SampleNumLabel) MarshalToVT(dAtA []byte) (int, error)
- func (m *SampleNumLabel) MarshalVT() (dAtA []byte, err error)
- func (*SampleNumLabel) ProtoMessage()
- func (x *SampleNumLabel) ProtoReflect() protoreflect.Message
- func (x *SampleNumLabel) Reset()
- func (m *SampleNumLabel) SizeVT() (n int)
- func (x *SampleNumLabel) String() string
- func (m *SampleNumLabel) UnmarshalVT(dAtA []byte) error
- type SampleNumUnit
- func (*SampleNumUnit) Descriptor() ([]byte, []int)deprecated
- func (x *SampleNumUnit) GetUnits() []string
- func (m *SampleNumUnit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SampleNumUnit) MarshalToVT(dAtA []byte) (int, error)
- func (m *SampleNumUnit) MarshalVT() (dAtA []byte, err error)
- func (*SampleNumUnit) ProtoMessage()
- func (x *SampleNumUnit) ProtoReflect() protoreflect.Message
- func (x *SampleNumUnit) Reset()
- func (m *SampleNumUnit) SizeVT() (n int)
- func (x *SampleNumUnit) String() string
- func (m *SampleNumUnit) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_parca_metastore_v1alpha1_metastore_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct { // id is the unique identifier for the function. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // start_line is the line number in the source file of the first line of the function. StartLine int64 `protobuf:"varint,2,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` // name is the name of the function. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // system_name describes the name of the function, as identified by the // system. For instance, it can be a C++ mangled name. SystemName string `protobuf:"bytes,4,opt,name=system_name,json=systemName,proto3" json:"system_name,omitempty"` // filename is the name of the source file of the function. Filename string `protobuf:"bytes,5,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
Function describes metadata of a source code function.
func (*Function) Descriptor
deprecated
func (*Function) GetFilename ¶
func (*Function) GetStartLine ¶
func (*Function) GetSystemName ¶
func (*Function) MarshalToSizedBufferVT ¶
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
func (*Function) UnmarshalVT ¶
type Line ¶
type Line struct { // function_id is the ID of the function. FunctionId []byte `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` // line is the line number in the source file of the referenced function. Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
Line describes a source code function and its line number.
func (*Line) Descriptor
deprecated
func (*Line) GetFunctionId ¶
func (*Line) MarshalToSizedBufferVT ¶
func (*Line) ProtoMessage ¶
func (*Line) ProtoMessage()
func (*Line) ProtoReflect ¶
func (x *Line) ProtoReflect() protoreflect.Message
func (*Line) UnmarshalVT ¶
type Location ¶
type Location struct { // id is the unique identifier for the location. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // address is the memory address of the location if present. Address uint64 `protobuf:"varint,2,opt,name=address,proto3" json:"address,omitempty"` // mapping_id is the unique identifier for the mapping associated with the location. MappingId []byte `protobuf:"bytes,4,opt,name=mapping_id,json=mappingId,proto3" json:"mapping_id,omitempty"` // is_folded indicates whether the location is folded into the previous location. IsFolded bool `protobuf:"varint,5,opt,name=is_folded,json=isFolded,proto3" json:"is_folded,omitempty"` // contains filtered or unexported fields }
Location describes a single location of a stack traces.
func (*Location) Descriptor
deprecated
func (*Location) GetAddress ¶
func (*Location) GetIsFolded ¶
func (*Location) GetMappingId ¶
func (*Location) MarshalToSizedBufferVT ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
func (*Location) UnmarshalVT ¶
type LocationLines ¶
type LocationLines struct { // id is the unique identifier for the location. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Lines is the list of lines associated with the location. Lines []*Line `protobuf:"bytes,2,rep,name=lines,proto3" json:"lines,omitempty"` // contains filtered or unexported fields }
LocationLines describes a set of lines of a location.
func (*LocationLines) Descriptor
deprecated
func (*LocationLines) Descriptor() ([]byte, []int)
Deprecated: Use LocationLines.ProtoReflect.Descriptor instead.
func (*LocationLines) GetId ¶
func (x *LocationLines) GetId() []byte
func (*LocationLines) GetLines ¶
func (x *LocationLines) GetLines() []*Line
func (*LocationLines) MarshalToSizedBufferVT ¶
func (m *LocationLines) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LocationLines) MarshalToVT ¶
func (m *LocationLines) MarshalToVT(dAtA []byte) (int, error)
func (*LocationLines) MarshalVT ¶
func (m *LocationLines) MarshalVT() (dAtA []byte, err error)
func (*LocationLines) ProtoMessage ¶
func (*LocationLines) ProtoMessage()
func (*LocationLines) ProtoReflect ¶
func (x *LocationLines) ProtoReflect() protoreflect.Message
func (*LocationLines) Reset ¶
func (x *LocationLines) Reset()
func (*LocationLines) SizeVT ¶
func (m *LocationLines) SizeVT() (n int)
func (*LocationLines) String ¶
func (x *LocationLines) String() string
func (*LocationLines) UnmarshalVT ¶
func (m *LocationLines) UnmarshalVT(dAtA []byte) error
type Mapping ¶
type Mapping struct { // id is the unique identifier for the mapping. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // start is the start address of the mapping. Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` // limit is the length of the address space of the mapping. Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // offset is the offset of the mapping. Offset uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` // file is the name of the file associated with the mapping. File string `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"` // build_id is the build ID of the mapping. BuildId string `protobuf:"bytes,6,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // has_functions indicates whether the mapping has associated functions. HasFunctions bool `protobuf:"varint,7,opt,name=has_functions,json=hasFunctions,proto3" json:"has_functions,omitempty"` // has_filenames indicates whether the mapping has associated filenames. HasFilenames bool `protobuf:"varint,8,opt,name=has_filenames,json=hasFilenames,proto3" json:"has_filenames,omitempty"` // has_line_numbers indicates whether the mapping has associated line numbers. HasLineNumbers bool `protobuf:"varint,9,opt,name=has_line_numbers,json=hasLineNumbers,proto3" json:"has_line_numbers,omitempty"` // has_inline_frames indicates whether the mapping has associated inline frames. HasInlineFrames bool `protobuf:"varint,10,opt,name=has_inline_frames,json=hasInlineFrames,proto3" json:"has_inline_frames,omitempty"` // contains filtered or unexported fields }
Mapping describes a memory mapping.
func (*Mapping) Descriptor
deprecated
func (*Mapping) GetBuildId ¶
func (*Mapping) GetHasFilenames ¶
func (*Mapping) GetHasFunctions ¶
func (*Mapping) GetHasInlineFrames ¶
func (*Mapping) GetHasLineNumbers ¶
func (*Mapping) MarshalToSizedBufferVT ¶
func (*Mapping) ProtoMessage ¶
func (*Mapping) ProtoMessage()
func (*Mapping) ProtoReflect ¶
func (x *Mapping) ProtoReflect() protoreflect.Message
func (*Mapping) UnmarshalVT ¶
type Sample ¶ added in v0.6.0
type Sample struct { // location_ids are locations that define the stack trace. LocationIds [][]byte `protobuf:"bytes,1,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` // labels are extra labels for a stack trace. Labels map[string]*SampleLabel `` /* 153-byte string literal not displayed */ // num_labels are the num of labels. NumLabels map[string]*SampleNumLabel `` /* 176-byte string literal not displayed */ // num_units are the units for the labels. NumUnits map[string]*SampleNumUnit `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
Sample is a stack trace with optional labels.
func (*Sample) Descriptor
deprecated
added in
v0.6.0
func (*Sample) GetLabels ¶ added in v0.6.0
func (x *Sample) GetLabels() map[string]*SampleLabel
func (*Sample) GetLocationIds ¶ added in v0.6.0
func (*Sample) GetNumLabels ¶ added in v0.6.0
func (x *Sample) GetNumLabels() map[string]*SampleNumLabel
func (*Sample) GetNumUnits ¶ added in v0.6.0
func (x *Sample) GetNumUnits() map[string]*SampleNumUnit
func (*Sample) MarshalToSizedBufferVT ¶ added in v0.6.0
func (*Sample) ProtoMessage ¶ added in v0.6.0
func (*Sample) ProtoMessage()
func (*Sample) ProtoReflect ¶ added in v0.6.0
func (x *Sample) ProtoReflect() protoreflect.Message
func (*Sample) UnmarshalVT ¶ added in v0.6.0
type SampleLabel ¶ added in v0.6.0
type SampleLabel struct { // labels for a label in a Sample. Labels []string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
SampleLabel are the labels added to a Sample.
func (*SampleLabel) Descriptor
deprecated
added in
v0.6.0
func (*SampleLabel) Descriptor() ([]byte, []int)
Deprecated: Use SampleLabel.ProtoReflect.Descriptor instead.
func (*SampleLabel) GetLabels ¶ added in v0.6.0
func (x *SampleLabel) GetLabels() []string
func (*SampleLabel) MarshalToSizedBufferVT ¶ added in v0.6.0
func (m *SampleLabel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SampleLabel) MarshalToVT ¶ added in v0.6.0
func (m *SampleLabel) MarshalToVT(dAtA []byte) (int, error)
func (*SampleLabel) MarshalVT ¶ added in v0.6.0
func (m *SampleLabel) MarshalVT() (dAtA []byte, err error)
func (*SampleLabel) ProtoMessage ¶ added in v0.6.0
func (*SampleLabel) ProtoMessage()
func (*SampleLabel) ProtoReflect ¶ added in v0.6.0
func (x *SampleLabel) ProtoReflect() protoreflect.Message
func (*SampleLabel) Reset ¶ added in v0.6.0
func (x *SampleLabel) Reset()
func (*SampleLabel) SizeVT ¶ added in v0.6.0
func (m *SampleLabel) SizeVT() (n int)
func (*SampleLabel) String ¶ added in v0.6.0
func (x *SampleLabel) String() string
func (*SampleLabel) UnmarshalVT ¶ added in v0.6.0
func (m *SampleLabel) UnmarshalVT(dAtA []byte) error
type SampleNumLabel ¶ added in v0.6.0
type SampleNumLabel struct { // num_labels are the num_label of a Sample. NumLabels []int64 `protobuf:"varint,1,rep,packed,name=num_labels,json=numLabels,proto3" json:"num_labels,omitempty"` // contains filtered or unexported fields }
SampleNumLabel are the num of labels of a Sample.
func (*SampleNumLabel) Descriptor
deprecated
added in
v0.6.0
func (*SampleNumLabel) Descriptor() ([]byte, []int)
Deprecated: Use SampleNumLabel.ProtoReflect.Descriptor instead.
func (*SampleNumLabel) GetNumLabels ¶ added in v0.6.0
func (x *SampleNumLabel) GetNumLabels() []int64
func (*SampleNumLabel) MarshalToSizedBufferVT ¶ added in v0.6.0
func (m *SampleNumLabel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SampleNumLabel) MarshalToVT ¶ added in v0.6.0
func (m *SampleNumLabel) MarshalToVT(dAtA []byte) (int, error)
func (*SampleNumLabel) MarshalVT ¶ added in v0.6.0
func (m *SampleNumLabel) MarshalVT() (dAtA []byte, err error)
func (*SampleNumLabel) ProtoMessage ¶ added in v0.6.0
func (*SampleNumLabel) ProtoMessage()
func (*SampleNumLabel) ProtoReflect ¶ added in v0.6.0
func (x *SampleNumLabel) ProtoReflect() protoreflect.Message
func (*SampleNumLabel) Reset ¶ added in v0.6.0
func (x *SampleNumLabel) Reset()
func (*SampleNumLabel) SizeVT ¶ added in v0.6.0
func (m *SampleNumLabel) SizeVT() (n int)
func (*SampleNumLabel) String ¶ added in v0.6.0
func (x *SampleNumLabel) String() string
func (*SampleNumLabel) UnmarshalVT ¶ added in v0.6.0
func (m *SampleNumLabel) UnmarshalVT(dAtA []byte) error
type SampleNumUnit ¶ added in v0.6.0
type SampleNumUnit struct { // units of a labels of a Sample. Units []string `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"` // contains filtered or unexported fields }
SampleNumUnit are the num units of a Sample.
func (*SampleNumUnit) Descriptor
deprecated
added in
v0.6.0
func (*SampleNumUnit) Descriptor() ([]byte, []int)
Deprecated: Use SampleNumUnit.ProtoReflect.Descriptor instead.
func (*SampleNumUnit) GetUnits ¶ added in v0.6.0
func (x *SampleNumUnit) GetUnits() []string
func (*SampleNumUnit) MarshalToSizedBufferVT ¶ added in v0.6.0
func (m *SampleNumUnit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SampleNumUnit) MarshalToVT ¶ added in v0.6.0
func (m *SampleNumUnit) MarshalToVT(dAtA []byte) (int, error)
func (*SampleNumUnit) MarshalVT ¶ added in v0.6.0
func (m *SampleNumUnit) MarshalVT() (dAtA []byte, err error)
func (*SampleNumUnit) ProtoMessage ¶ added in v0.6.0
func (*SampleNumUnit) ProtoMessage()
func (*SampleNumUnit) ProtoReflect ¶ added in v0.6.0
func (x *SampleNumUnit) ProtoReflect() protoreflect.Message
func (*SampleNumUnit) Reset ¶ added in v0.6.0
func (x *SampleNumUnit) Reset()
func (*SampleNumUnit) SizeVT ¶ added in v0.6.0
func (m *SampleNumUnit) SizeVT() (n int)
func (*SampleNumUnit) String ¶ added in v0.6.0
func (x *SampleNumUnit) String() string
func (*SampleNumUnit) UnmarshalVT ¶ added in v0.6.0
func (m *SampleNumUnit) UnmarshalVT(dAtA []byte) error