metastorev1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 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

Jump to

Keyboard shortcuts

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