metastorev1alpha1

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetFilename

func (x *Function) GetFilename() string

func (*Function) GetId

func (x *Function) GetId() []byte

func (*Function) GetName

func (x *Function) GetName() string

func (*Function) GetStartLine

func (x *Function) GetStartLine() int64

func (*Function) GetSystemName

func (x *Function) GetSystemName() string

func (*Function) MarshalToSizedBufferVT

func (m *Function) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Function) MarshalToVT

func (m *Function) MarshalToVT(dAtA []byte) (int, error)

func (*Function) MarshalVT

func (m *Function) MarshalVT() (dAtA []byte, err error)

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) ProtoReflect

func (x *Function) ProtoReflect() protoreflect.Message

func (*Function) Reset

func (x *Function) Reset()

func (*Function) SizeVT

func (m *Function) SizeVT() (n int)

func (*Function) String

func (x *Function) String() string

func (*Function) UnmarshalVT

func (m *Function) UnmarshalVT(dAtA []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Line.ProtoReflect.Descriptor instead.

func (*Line) GetFunctionId

func (x *Line) GetFunctionId() []byte

func (*Line) GetLine

func (x *Line) GetLine() int64

func (*Line) MarshalToSizedBufferVT

func (m *Line) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Line) MarshalToVT

func (m *Line) MarshalToVT(dAtA []byte) (int, error)

func (*Line) MarshalVT

func (m *Line) MarshalVT() (dAtA []byte, err error)

func (*Line) ProtoMessage

func (*Line) ProtoMessage()

func (*Line) ProtoReflect

func (x *Line) ProtoReflect() protoreflect.Message

func (*Line) Reset

func (x *Line) Reset()

func (*Line) SizeVT

func (m *Line) SizeVT() (n int)

func (*Line) String

func (x *Line) String() string

func (*Line) UnmarshalVT

func (m *Line) UnmarshalVT(dAtA []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetAddress

func (x *Location) GetAddress() uint64

func (*Location) GetId

func (x *Location) GetId() []byte

func (*Location) GetIsFolded

func (x *Location) GetIsFolded() bool

func (*Location) GetMappingId

func (x *Location) GetMappingId() []byte

func (*Location) MarshalToSizedBufferVT

func (m *Location) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Location) MarshalToVT

func (m *Location) MarshalToVT(dAtA []byte) (int, error)

func (*Location) MarshalVT

func (m *Location) MarshalVT() (dAtA []byte, err error)

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) SizeVT

func (m *Location) SizeVT() (n int)

func (*Location) String

func (x *Location) String() string

func (*Location) UnmarshalVT

func (m *Location) UnmarshalVT(dAtA []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Mapping.ProtoReflect.Descriptor instead.

func (*Mapping) GetBuildId

func (x *Mapping) GetBuildId() string

func (*Mapping) GetFile

func (x *Mapping) GetFile() string

func (*Mapping) GetHasFilenames

func (x *Mapping) GetHasFilenames() bool

func (*Mapping) GetHasFunctions

func (x *Mapping) GetHasFunctions() bool

func (*Mapping) GetHasInlineFrames

func (x *Mapping) GetHasInlineFrames() bool

func (*Mapping) GetHasLineNumbers

func (x *Mapping) GetHasLineNumbers() bool

func (*Mapping) GetId

func (x *Mapping) GetId() []byte

func (*Mapping) GetLimit

func (x *Mapping) GetLimit() uint64

func (*Mapping) GetOffset

func (x *Mapping) GetOffset() uint64

func (*Mapping) GetStart

func (x *Mapping) GetStart() uint64

func (*Mapping) MarshalToSizedBufferVT

func (m *Mapping) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Mapping) MarshalToVT

func (m *Mapping) MarshalToVT(dAtA []byte) (int, error)

func (*Mapping) MarshalVT

func (m *Mapping) MarshalVT() (dAtA []byte, err error)

func (*Mapping) ProtoMessage

func (*Mapping) ProtoMessage()

func (*Mapping) ProtoReflect

func (x *Mapping) ProtoReflect() protoreflect.Message

func (*Mapping) Reset

func (x *Mapping) Reset()

func (*Mapping) SizeVT

func (m *Mapping) SizeVT() (n int)

func (*Mapping) String

func (x *Mapping) String() string

func (*Mapping) UnmarshalVT

func (m *Mapping) UnmarshalVT(dAtA []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Sample.ProtoReflect.Descriptor instead.

func (*Sample) GetLabels added in v0.6.0

func (x *Sample) GetLabels() map[string]*SampleLabel

func (*Sample) GetLocationIds added in v0.6.0

func (x *Sample) GetLocationIds() [][]byte

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 (m *Sample) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Sample) MarshalToVT added in v0.6.0

func (m *Sample) MarshalToVT(dAtA []byte) (int, error)

func (*Sample) MarshalVT added in v0.6.0

func (m *Sample) MarshalVT() (dAtA []byte, err error)

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) Reset added in v0.6.0

func (x *Sample) Reset()

func (*Sample) SizeVT added in v0.6.0

func (m *Sample) SizeVT() (n int)

func (*Sample) String added in v0.6.0

func (x *Sample) String() string

func (*Sample) UnmarshalVT added in v0.6.0

func (m *Sample) UnmarshalVT(dAtA []byte) error

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

Jump to

Keyboard shortcuts

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