Documentation ¶
Index ¶
- Variables
- func RegisterProfileServiceServer(s *grpc.Server, srv ProfileServiceServer)
- type FileChunk
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetMode() uint32
- func (x *FileInfo) GetModeTime() *timestamp.Timestamp
- func (x *FileInfo) GetName() string
- func (x *FileInfo) GetSize() int64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type IDName
- type InfoType
- func (*InfoType) Descriptor() ([]byte, []int)deprecated
- func (x *InfoType) GetGOARCH() string
- func (x *InfoType) GetGOMAXPROCS() int32
- func (x *InfoType) GetGOOS() string
- func (x *InfoType) GetMemProfileRate() int32
- func (x *InfoType) GetMemStats() *MemStats
- func (x *InfoType) GetNumCPU() int32
- func (x *InfoType) GetNumCgoCall() int32
- func (x *InfoType) GetNumGoroutine() int32
- func (x *InfoType) GetProcessStats() *ProcessStats
- func (x *InfoType) GetVersion() string
- func (*InfoType) ProtoMessage()
- func (x *InfoType) ProtoReflect() protoreflect.Message
- func (x *InfoType) Reset()
- func (x *InfoType) String() string
- type IntType
- type LookupProfile
- func (LookupProfile) Descriptor() protoreflect.EnumDescriptor
- func (x LookupProfile) Enum() *LookupProfile
- func (LookupProfile) EnumDescriptor() ([]byte, []int)deprecated
- func (x LookupProfile) Number() protoreflect.EnumNumber
- func (x LookupProfile) String() string
- func (LookupProfile) Type() protoreflect.EnumType
- type LookupProfileInputType
- func (*LookupProfileInputType) Descriptor() ([]byte, []int)deprecated
- func (x *LookupProfileInputType) GetProfileType() LookupProfile
- func (*LookupProfileInputType) ProtoMessage()
- func (x *LookupProfileInputType) ProtoReflect() protoreflect.Message
- func (x *LookupProfileInputType) Reset()
- func (x *LookupProfileInputType) String() string
- type LookupProfileType
- func (*LookupProfileType) Descriptor() ([]byte, []int)deprecated
- func (x *LookupProfileType) GetProfile() LookupProfile
- func (*LookupProfileType) ProtoMessage()
- func (x *LookupProfileType) ProtoReflect() protoreflect.Message
- func (x *LookupProfileType) Reset()
- func (x *LookupProfileType) String() string
- type MemStats
- func (*MemStats) Descriptor() ([]byte, []int)deprecated
- func (x *MemStats) GetAlloc() uint64
- func (x *MemStats) GetBuckHashSys() uint64
- func (x *MemStats) GetFrees() uint64
- func (x *MemStats) GetGCSys() uint64
- func (x *MemStats) GetHeapAlloc() uint64
- func (x *MemStats) GetHeapIdle() uint64
- func (x *MemStats) GetHeapInuse() uint64
- func (x *MemStats) GetHeapObjects() uint64
- func (x *MemStats) GetHeapReleased() uint64
- func (x *MemStats) GetHeapSys() uint64
- func (x *MemStats) GetLastGC() *timestamp.Timestamp
- func (x *MemStats) GetLastPause() *timestamp.Timestamp
- func (x *MemStats) GetLookups() uint64
- func (x *MemStats) GetMCacheInuse() uint64
- func (x *MemStats) GetMCacheSys() uint64
- func (x *MemStats) GetMSpanInuse() uint64
- func (x *MemStats) GetMSpanSys() uint64
- func (x *MemStats) GetMallocs() uint64
- func (x *MemStats) GetNextGC() uint64
- func (x *MemStats) GetNumForcedGC() uint32
- func (x *MemStats) GetNumGC() uint32
- func (x *MemStats) GetOtherSys() uint64
- func (x *MemStats) GetPauseTotalNs() *duration.Duration
- func (x *MemStats) GetStackInuse() uint64
- func (x *MemStats) GetStackSys() uint64
- func (x *MemStats) GetSys() uint64
- func (x *MemStats) GetTotalAlloc() uint64
- func (*MemStats) ProtoMessage()
- func (x *MemStats) ProtoReflect() protoreflect.Message
- func (x *MemStats) Reset()
- func (x *MemStats) String() string
- type NonLookupProfile
- func (NonLookupProfile) Descriptor() protoreflect.EnumDescriptor
- func (x NonLookupProfile) Enum() *NonLookupProfile
- func (NonLookupProfile) EnumDescriptor() ([]byte, []int)deprecated
- func (x NonLookupProfile) Number() protoreflect.EnumNumber
- func (x NonLookupProfile) String() string
- func (NonLookupProfile) Type() protoreflect.EnumType
- type NonLookupProfileInputType
- func (*NonLookupProfileInputType) Descriptor() ([]byte, []int)deprecated
- func (x *NonLookupProfileInputType) GetDuration() *duration.Duration
- func (x *NonLookupProfileInputType) GetProfileType() NonLookupProfile
- func (*NonLookupProfileInputType) ProtoMessage()
- func (x *NonLookupProfileInputType) ProtoReflect() protoreflect.Message
- func (x *NonLookupProfileInputType) Reset()
- func (x *NonLookupProfileInputType) String() string
- type NonLookupProfileType
- func (*NonLookupProfileType) Descriptor() ([]byte, []int)deprecated
- func (x *NonLookupProfileType) GetProfile() NonLookupProfile
- func (*NonLookupProfileType) ProtoMessage()
- func (x *NonLookupProfileType) ProtoReflect() protoreflect.Message
- func (x *NonLookupProfileType) Reset()
- func (x *NonLookupProfileType) String() string
- type ProcessStats
- func (*ProcessStats) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessStats) GetEGID() *IDName
- func (x *ProcessStats) GetEUID() *IDName
- func (x *ProcessStats) GetEnviron() []string
- func (x *ProcessStats) GetExecutable() string
- func (x *ProcessStats) GetExecutableLStat() *FileInfo
- func (x *ProcessStats) GetExecutableStat() *FileInfo
- func (x *ProcessStats) GetGID() *IDName
- func (x *ProcessStats) GetGroups() []*IDName
- func (x *ProcessStats) GetHostname() string
- func (x *ProcessStats) GetPID() int32
- func (x *ProcessStats) GetPPID() int32
- func (x *ProcessStats) GetPageSize() int32
- func (x *ProcessStats) GetUID() *IDName
- func (x *ProcessStats) GetUserCacheDir() string
- func (x *ProcessStats) GetUserConfigDir() string
- func (x *ProcessStats) GetUserHomeDir() string
- func (x *ProcessStats) GetWD() string
- func (*ProcessStats) ProtoMessage()
- func (x *ProcessStats) ProtoReflect() protoreflect.Message
- func (x *ProcessStats) Reset()
- func (x *ProcessStats) String() string
- type ProfileServiceClient
- type ProfileServiceServer
- type ProfileService_BinaryDumpClient
- type ProfileService_BinaryDumpServer
- type ProfileService_LookupProfileClient
- type ProfileService_LookupProfileServer
- type ProfileService_NonLookupProfileClient
- type ProfileService_NonLookupProfileServer
- type ProfileVariable
- func (ProfileVariable) Descriptor() protoreflect.EnumDescriptor
- func (x ProfileVariable) Enum() *ProfileVariable
- func (ProfileVariable) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProfileVariable) Number() protoreflect.EnumNumber
- func (x ProfileVariable) String() string
- func (ProfileVariable) Type() protoreflect.EnumType
- type ResetProfileInputType
- func (*ResetProfileInputType) Descriptor() ([]byte, []int)deprecated
- func (x *ResetProfileInputType) GetVariable() ProfileVariable
- func (*ResetProfileInputType) ProtoMessage()
- func (x *ResetProfileInputType) ProtoReflect() protoreflect.Message
- func (x *ResetProfileInputType) Reset()
- func (x *ResetProfileInputType) String() string
- type SetProfileInputType
- func (*SetProfileInputType) Descriptor() ([]byte, []int)deprecated
- func (x *SetProfileInputType) GetRate() int32
- func (x *SetProfileInputType) GetVariable() ProfileVariable
- func (*SetProfileInputType) ProtoMessage()
- func (x *SetProfileInputType) ProtoReflect() protoreflect.Message
- func (x *SetProfileInputType) Reset()
- func (x *SetProfileInputType) String() string
- type StringType
- type UnimplementedProfileServiceServer
- func (*UnimplementedProfileServiceServer) BinaryDump(*empty.Empty, ProfileService_BinaryDumpServer) error
- func (*UnimplementedProfileServiceServer) GC(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedProfileServiceServer) GetInfo(context.Context, *empty.Empty) (*InfoType, error)
- func (*UnimplementedProfileServiceServer) LookupProfile(*LookupProfileInputType, ProfileService_LookupProfileServer) error
- func (*UnimplementedProfileServiceServer) NonLookupProfile(*NonLookupProfileInputType, ProfileService_NonLookupProfileServer) error
- func (*UnimplementedProfileServiceServer) Ping(context.Context, *empty.Empty) (*StringType, error)
- func (*UnimplementedProfileServiceServer) Set(context.Context, *SetProfileInputType) (*IntType, error)
- func (*UnimplementedProfileServiceServer) StopNonLookupProfile(context.Context, *NonLookupProfileType) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
var ( ProfileVariable_name = map[int32]string{ 0: "MemProfileRate", 1: "CPUProfileRate", 2: "MutexProfileFraction", 3: "BlockProfileRate", } ProfileVariable_value = map[string]int32{ "MemProfileRate": 0, "CPUProfileRate": 1, "MutexProfileFraction": 2, "BlockProfileRate": 3, } )
Enum value maps for ProfileVariable.
var ( LookupProfile_name = map[int32]string{ 0: "profileTypeHeap", 1: "profileTypeMutex", 2: "profileTypeBlock", 3: "profileTypeThreadCreate", 4: "profileTypeGoRoutine", } LookupProfile_value = map[string]int32{ "profileTypeHeap": 0, "profileTypeMutex": 1, "profileTypeBlock": 2, "profileTypeThreadCreate": 3, "profileTypeGoRoutine": 4, } )
Enum value maps for LookupProfile.
var ( NonLookupProfile_name = map[int32]string{ 0: "profileTypeCPU", 1: "profileTypeTrace", } NonLookupProfile_value = map[string]int32{ "profileTypeCPU": 0, "profileTypeTrace": 1, } )
Enum value maps for NonLookupProfile.
var File_profile_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProfileServiceServer ¶
func RegisterProfileServiceServer(s *grpc.Server, srv ProfileServiceServer)
Types ¶
type FileChunk ¶
type FileChunk struct { Content []byte `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*FileChunk) Descriptor
deprecated
func (*FileChunk) GetContent ¶
func (*FileChunk) ProtoMessage ¶
func (*FileChunk) ProtoMessage()
func (*FileChunk) ProtoReflect ¶
func (x *FileChunk) ProtoReflect() protoreflect.Message
type FileInfo ¶
type FileInfo struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Size int64 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=Mode,proto3" json:"Mode,omitempty"` ModeTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=ModeTime,proto3" json:"ModeTime,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetModeTime ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type IDName ¶
type IDName struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*IDName) Descriptor
deprecated
func (*IDName) ProtoMessage ¶
func (*IDName) ProtoMessage()
func (*IDName) ProtoReflect ¶
func (x *IDName) ProtoReflect() protoreflect.Message
type InfoType ¶
type InfoType struct { GOOS string `protobuf:"bytes,1,opt,name=GOOS,proto3" json:"GOOS,omitempty"` GOARCH string `protobuf:"bytes,2,opt,name=GOARCH,proto3" json:"GOARCH,omitempty"` GOMAXPROCS int32 `protobuf:"varint,3,opt,name=GOMAXPROCS,proto3" json:"GOMAXPROCS,omitempty"` NumCPU int32 `protobuf:"varint,4,opt,name=NumCPU,proto3" json:"NumCPU,omitempty"` NumCgoCall int32 `protobuf:"varint,5,opt,name=NumCgoCall,proto3" json:"NumCgoCall,omitempty"` NumGoroutine int32 `protobuf:"varint,6,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"` Version string `protobuf:"bytes,7,opt,name=Version,proto3" json:"Version,omitempty"` ProcessStats *ProcessStats `protobuf:"bytes,8,opt,name=ProcessStats,proto3" json:"ProcessStats,omitempty"` MemStats *MemStats `protobuf:"bytes,9,opt,name=MemStats,proto3" json:"MemStats,omitempty"` MemProfileRate int32 `protobuf:"varint,10,opt,name=MemProfileRate,proto3" json:"MemProfileRate,omitempty"` // contains filtered or unexported fields }
func (*InfoType) Descriptor
deprecated
func (*InfoType) GetGOMAXPROCS ¶
func (*InfoType) GetMemProfileRate ¶
func (*InfoType) GetMemStats ¶
func (*InfoType) GetNumCgoCall ¶
func (*InfoType) GetNumGoroutine ¶
func (*InfoType) GetProcessStats ¶
func (x *InfoType) GetProcessStats() *ProcessStats
func (*InfoType) GetVersion ¶
func (*InfoType) ProtoMessage ¶
func (*InfoType) ProtoMessage()
func (*InfoType) ProtoReflect ¶
func (x *InfoType) ProtoReflect() protoreflect.Message
type IntType ¶
type IntType struct { Value int32 `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*IntType) Descriptor
deprecated
func (*IntType) ProtoMessage ¶
func (*IntType) ProtoMessage()
func (*IntType) ProtoReflect ¶
func (x *IntType) ProtoReflect() protoreflect.Message
type LookupProfile ¶
type LookupProfile int32
const ( LookupProfile_profileTypeHeap LookupProfile = 0 LookupProfile_profileTypeMutex LookupProfile = 1 LookupProfile_profileTypeBlock LookupProfile = 2 LookupProfile_profileTypeThreadCreate LookupProfile = 3 LookupProfile_profileTypeGoRoutine LookupProfile = 4 )
func (LookupProfile) Descriptor ¶
func (LookupProfile) Descriptor() protoreflect.EnumDescriptor
func (LookupProfile) Enum ¶
func (x LookupProfile) Enum() *LookupProfile
func (LookupProfile) EnumDescriptor
deprecated
func (LookupProfile) EnumDescriptor() ([]byte, []int)
Deprecated: Use LookupProfile.Descriptor instead.
func (LookupProfile) Number ¶
func (x LookupProfile) Number() protoreflect.EnumNumber
func (LookupProfile) String ¶
func (x LookupProfile) String() string
func (LookupProfile) Type ¶
func (LookupProfile) Type() protoreflect.EnumType
type LookupProfileInputType ¶
type LookupProfileInputType struct { ProfileType LookupProfile `protobuf:"varint,1,opt,name=ProfileType,proto3,enum=proto.LookupProfile" json:"ProfileType,omitempty"` // contains filtered or unexported fields }
func (*LookupProfileInputType) Descriptor
deprecated
func (*LookupProfileInputType) Descriptor() ([]byte, []int)
Deprecated: Use LookupProfileInputType.ProtoReflect.Descriptor instead.
func (*LookupProfileInputType) GetProfileType ¶
func (x *LookupProfileInputType) GetProfileType() LookupProfile
func (*LookupProfileInputType) ProtoMessage ¶
func (*LookupProfileInputType) ProtoMessage()
func (*LookupProfileInputType) ProtoReflect ¶
func (x *LookupProfileInputType) ProtoReflect() protoreflect.Message
func (*LookupProfileInputType) Reset ¶
func (x *LookupProfileInputType) Reset()
func (*LookupProfileInputType) String ¶
func (x *LookupProfileInputType) String() string
type LookupProfileType ¶
type LookupProfileType struct { Profile LookupProfile `protobuf:"varint,1,opt,name=Profile,proto3,enum=proto.LookupProfile" json:"Profile,omitempty"` // contains filtered or unexported fields }
func (*LookupProfileType) Descriptor
deprecated
func (*LookupProfileType) Descriptor() ([]byte, []int)
Deprecated: Use LookupProfileType.ProtoReflect.Descriptor instead.
func (*LookupProfileType) GetProfile ¶
func (x *LookupProfileType) GetProfile() LookupProfile
func (*LookupProfileType) ProtoMessage ¶
func (*LookupProfileType) ProtoMessage()
func (*LookupProfileType) ProtoReflect ¶
func (x *LookupProfileType) ProtoReflect() protoreflect.Message
func (*LookupProfileType) Reset ¶
func (x *LookupProfileType) Reset()
func (*LookupProfileType) String ¶
func (x *LookupProfileType) String() string
type MemStats ¶
type MemStats struct { Alloc uint64 `protobuf:"varint,1,opt,name=Alloc,proto3" json:"Alloc,omitempty"` TotalAlloc uint64 `protobuf:"varint,2,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"` Sys uint64 `protobuf:"varint,3,opt,name=Sys,proto3" json:"Sys,omitempty"` Lookups uint64 `protobuf:"varint,4,opt,name=Lookups,proto3" json:"Lookups,omitempty"` Mallocs uint64 `protobuf:"varint,5,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"` Frees uint64 `protobuf:"varint,6,opt,name=Frees,proto3" json:"Frees,omitempty"` HeapAlloc uint64 `protobuf:"varint,7,opt,name=HeapAlloc,proto3" json:"HeapAlloc,omitempty"` HeapSys uint64 `protobuf:"varint,8,opt,name=HeapSys,proto3" json:"HeapSys,omitempty"` HeapIdle uint64 `protobuf:"varint,9,opt,name=HeapIdle,proto3" json:"HeapIdle,omitempty"` HeapInuse uint64 `protobuf:"varint,10,opt,name=HeapInuse,proto3" json:"HeapInuse,omitempty"` HeapReleased uint64 `protobuf:"varint,11,opt,name=HeapReleased,proto3" json:"HeapReleased,omitempty"` HeapObjects uint64 `protobuf:"varint,12,opt,name=HeapObjects,proto3" json:"HeapObjects,omitempty"` StackInuse uint64 `protobuf:"varint,13,opt,name=StackInuse,proto3" json:"StackInuse,omitempty"` StackSys uint64 `protobuf:"varint,14,opt,name=StackSys,proto3" json:"StackSys,omitempty"` MSpanInuse uint64 `protobuf:"varint,15,opt,name=MSpanInuse,proto3" json:"MSpanInuse,omitempty"` MSpanSys uint64 `protobuf:"varint,16,opt,name=MSpanSys,proto3" json:"MSpanSys,omitempty"` MCacheInuse uint64 `protobuf:"varint,17,opt,name=MCacheInuse,proto3" json:"MCacheInuse,omitempty"` MCacheSys uint64 `protobuf:"varint,18,opt,name=MCacheSys,proto3" json:"MCacheSys,omitempty"` BuckHashSys uint64 `protobuf:"varint,19,opt,name=BuckHashSys,proto3" json:"BuckHashSys,omitempty"` GCSys uint64 `protobuf:"varint,20,opt,name=GCSys,proto3" json:"GCSys,omitempty"` OtherSys uint64 `protobuf:"varint,21,opt,name=OtherSys,proto3" json:"OtherSys,omitempty"` NextGC uint64 `protobuf:"varint,22,opt,name=NextGC,proto3" json:"NextGC,omitempty"` LastGC *timestamp.Timestamp `protobuf:"bytes,23,opt,name=LastGC,proto3" json:"LastGC,omitempty"` PauseTotalNs *duration.Duration `protobuf:"bytes,24,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"` LastPause *timestamp.Timestamp `protobuf:"bytes,25,opt,name=LastPause,proto3" json:"LastPause,omitempty"` NumGC uint32 `protobuf:"varint,26,opt,name=NumGC,proto3" json:"NumGC,omitempty"` NumForcedGC uint32 `protobuf:"varint,27,opt,name=NumForcedGC,proto3" json:"NumForcedGC,omitempty"` // contains filtered or unexported fields }
func (*MemStats) Descriptor
deprecated
func (*MemStats) GetBuckHashSys ¶
func (*MemStats) GetHeapAlloc ¶
func (*MemStats) GetHeapIdle ¶
func (*MemStats) GetHeapInuse ¶
func (*MemStats) GetHeapObjects ¶
func (*MemStats) GetHeapReleased ¶
func (*MemStats) GetHeapSys ¶
func (*MemStats) GetLastPause ¶
func (*MemStats) GetLookups ¶
func (*MemStats) GetMCacheInuse ¶
func (*MemStats) GetMCacheSys ¶
func (*MemStats) GetMSpanInuse ¶
func (*MemStats) GetMSpanSys ¶
func (*MemStats) GetMallocs ¶
func (*MemStats) GetNumForcedGC ¶
func (*MemStats) GetOtherSys ¶
func (*MemStats) GetPauseTotalNs ¶
func (*MemStats) GetStackInuse ¶
func (*MemStats) GetStackSys ¶
func (*MemStats) GetTotalAlloc ¶
func (*MemStats) ProtoMessage ¶
func (*MemStats) ProtoMessage()
func (*MemStats) ProtoReflect ¶
func (x *MemStats) ProtoReflect() protoreflect.Message
type NonLookupProfile ¶
type NonLookupProfile int32
const ( NonLookupProfile_profileTypeCPU NonLookupProfile = 0 NonLookupProfile_profileTypeTrace NonLookupProfile = 1 )
func (NonLookupProfile) Descriptor ¶
func (NonLookupProfile) Descriptor() protoreflect.EnumDescriptor
func (NonLookupProfile) Enum ¶
func (x NonLookupProfile) Enum() *NonLookupProfile
func (NonLookupProfile) EnumDescriptor
deprecated
func (NonLookupProfile) EnumDescriptor() ([]byte, []int)
Deprecated: Use NonLookupProfile.Descriptor instead.
func (NonLookupProfile) Number ¶
func (x NonLookupProfile) Number() protoreflect.EnumNumber
func (NonLookupProfile) String ¶
func (x NonLookupProfile) String() string
func (NonLookupProfile) Type ¶
func (NonLookupProfile) Type() protoreflect.EnumType
type NonLookupProfileInputType ¶
type NonLookupProfileInputType struct { ProfileType NonLookupProfile `protobuf:"varint,1,opt,name=ProfileType,proto3,enum=proto.NonLookupProfile" json:"ProfileType,omitempty"` Duration *duration.Duration `protobuf:"bytes,2,opt,name=Duration,proto3" json:"Duration,omitempty"` // contains filtered or unexported fields }
func (*NonLookupProfileInputType) Descriptor
deprecated
func (*NonLookupProfileInputType) Descriptor() ([]byte, []int)
Deprecated: Use NonLookupProfileInputType.ProtoReflect.Descriptor instead.
func (*NonLookupProfileInputType) GetDuration ¶
func (x *NonLookupProfileInputType) GetDuration() *duration.Duration
func (*NonLookupProfileInputType) GetProfileType ¶
func (x *NonLookupProfileInputType) GetProfileType() NonLookupProfile
func (*NonLookupProfileInputType) ProtoMessage ¶
func (*NonLookupProfileInputType) ProtoMessage()
func (*NonLookupProfileInputType) ProtoReflect ¶
func (x *NonLookupProfileInputType) ProtoReflect() protoreflect.Message
func (*NonLookupProfileInputType) Reset ¶
func (x *NonLookupProfileInputType) Reset()
func (*NonLookupProfileInputType) String ¶
func (x *NonLookupProfileInputType) String() string
type NonLookupProfileType ¶
type NonLookupProfileType struct { Profile NonLookupProfile `protobuf:"varint,1,opt,name=Profile,proto3,enum=proto.NonLookupProfile" json:"Profile,omitempty"` // contains filtered or unexported fields }
func (*NonLookupProfileType) Descriptor
deprecated
func (*NonLookupProfileType) Descriptor() ([]byte, []int)
Deprecated: Use NonLookupProfileType.ProtoReflect.Descriptor instead.
func (*NonLookupProfileType) GetProfile ¶
func (x *NonLookupProfileType) GetProfile() NonLookupProfile
func (*NonLookupProfileType) ProtoMessage ¶
func (*NonLookupProfileType) ProtoMessage()
func (*NonLookupProfileType) ProtoReflect ¶
func (x *NonLookupProfileType) ProtoReflect() protoreflect.Message
func (*NonLookupProfileType) Reset ¶
func (x *NonLookupProfileType) Reset()
func (*NonLookupProfileType) String ¶
func (x *NonLookupProfileType) String() string
type ProcessStats ¶
type ProcessStats struct { Environ []string `protobuf:"bytes,1,rep,name=Environ,proto3" json:"Environ,omitempty"` Executable string `protobuf:"bytes,2,opt,name=Executable,proto3" json:"Executable,omitempty"` ExecutableLStat *FileInfo `protobuf:"bytes,3,opt,name=ExecutableLStat,proto3" json:"ExecutableLStat,omitempty"` ExecutableStat *FileInfo `protobuf:"bytes,4,opt,name=ExecutableStat,proto3" json:"ExecutableStat,omitempty"` UID *IDName `protobuf:"bytes,5,opt,name=UID,proto3" json:"UID,omitempty"` GID *IDName `protobuf:"bytes,6,opt,name=GID,proto3" json:"GID,omitempty"` EUID *IDName `protobuf:"bytes,7,opt,name=EUID,proto3" json:"EUID,omitempty"` EGID *IDName `protobuf:"bytes,8,opt,name=EGID,proto3" json:"EGID,omitempty"` Groups []*IDName `protobuf:"bytes,9,rep,name=Groups,proto3" json:"Groups,omitempty"` PageSize int32 `protobuf:"varint,10,opt,name=PageSize,proto3" json:"PageSize,omitempty"` PID int32 `protobuf:"varint,11,opt,name=PID,proto3" json:"PID,omitempty"` PPID int32 `protobuf:"varint,12,opt,name=PPID,proto3" json:"PPID,omitempty"` WD string `protobuf:"bytes,13,opt,name=WD,proto3" json:"WD,omitempty"` Hostname string `protobuf:"bytes,14,opt,name=Hostname,proto3" json:"Hostname,omitempty"` UserCacheDir string `protobuf:"bytes,15,opt,name=UserCacheDir,proto3" json:"UserCacheDir,omitempty"` UserConfigDir string `protobuf:"bytes,16,opt,name=UserConfigDir,proto3" json:"UserConfigDir,omitempty"` UserHomeDir string `protobuf:"bytes,17,opt,name=UserHomeDir,proto3" json:"UserHomeDir,omitempty"` // contains filtered or unexported fields }
func (*ProcessStats) Descriptor
deprecated
func (*ProcessStats) Descriptor() ([]byte, []int)
Deprecated: Use ProcessStats.ProtoReflect.Descriptor instead.
func (*ProcessStats) GetEGID ¶
func (x *ProcessStats) GetEGID() *IDName
func (*ProcessStats) GetEUID ¶
func (x *ProcessStats) GetEUID() *IDName
func (*ProcessStats) GetEnviron ¶
func (x *ProcessStats) GetEnviron() []string
func (*ProcessStats) GetExecutable ¶
func (x *ProcessStats) GetExecutable() string
func (*ProcessStats) GetExecutableLStat ¶
func (x *ProcessStats) GetExecutableLStat() *FileInfo
func (*ProcessStats) GetExecutableStat ¶
func (x *ProcessStats) GetExecutableStat() *FileInfo
func (*ProcessStats) GetGID ¶
func (x *ProcessStats) GetGID() *IDName
func (*ProcessStats) GetGroups ¶
func (x *ProcessStats) GetGroups() []*IDName
func (*ProcessStats) GetHostname ¶
func (x *ProcessStats) GetHostname() string
func (*ProcessStats) GetPID ¶
func (x *ProcessStats) GetPID() int32
func (*ProcessStats) GetPPID ¶
func (x *ProcessStats) GetPPID() int32
func (*ProcessStats) GetPageSize ¶
func (x *ProcessStats) GetPageSize() int32
func (*ProcessStats) GetUID ¶
func (x *ProcessStats) GetUID() *IDName
func (*ProcessStats) GetUserCacheDir ¶
func (x *ProcessStats) GetUserCacheDir() string
func (*ProcessStats) GetUserConfigDir ¶
func (x *ProcessStats) GetUserConfigDir() string
func (*ProcessStats) GetUserHomeDir ¶
func (x *ProcessStats) GetUserHomeDir() string
func (*ProcessStats) GetWD ¶
func (x *ProcessStats) GetWD() string
func (*ProcessStats) ProtoMessage ¶
func (*ProcessStats) ProtoMessage()
func (*ProcessStats) ProtoReflect ¶
func (x *ProcessStats) ProtoReflect() protoreflect.Message
func (*ProcessStats) Reset ¶
func (x *ProcessStats) Reset()
func (*ProcessStats) String ¶
func (x *ProcessStats) String() string
type ProfileServiceClient ¶
type ProfileServiceClient interface { // Test Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StringType, error) // Info GetInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InfoType, error) // BinaryDump BinaryDump(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ProfileService_BinaryDumpClient, error) // Variable Set(ctx context.Context, in *SetProfileInputType, opts ...grpc.CallOption) (*IntType, error) // GC GC(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // Lookup Profile LookupProfile(ctx context.Context, in *LookupProfileInputType, opts ...grpc.CallOption) (ProfileService_LookupProfileClient, error) // Non Lookup Profile NonLookupProfile(ctx context.Context, in *NonLookupProfileInputType, opts ...grpc.CallOption) (ProfileService_NonLookupProfileClient, error) StopNonLookupProfile(ctx context.Context, in *NonLookupProfileType, opts ...grpc.CallOption) (*empty.Empty, error) }
ProfileServiceClient is the client API for ProfileService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProfileServiceClient ¶
func NewProfileServiceClient(cc grpc.ClientConnInterface) ProfileServiceClient
type ProfileServiceServer ¶
type ProfileServiceServer interface { // Test Ping(context.Context, *empty.Empty) (*StringType, error) // Info GetInfo(context.Context, *empty.Empty) (*InfoType, error) // BinaryDump BinaryDump(*empty.Empty, ProfileService_BinaryDumpServer) error // Variable Set(context.Context, *SetProfileInputType) (*IntType, error) // GC GC(context.Context, *empty.Empty) (*empty.Empty, error) // Lookup Profile LookupProfile(*LookupProfileInputType, ProfileService_LookupProfileServer) error // Non Lookup Profile NonLookupProfile(*NonLookupProfileInputType, ProfileService_NonLookupProfileServer) error StopNonLookupProfile(context.Context, *NonLookupProfileType) (*empty.Empty, error) }
ProfileServiceServer is the server API for ProfileService service.
type ProfileService_BinaryDumpClient ¶
type ProfileService_BinaryDumpClient interface { Recv() (*FileChunk, error) grpc.ClientStream }
type ProfileService_BinaryDumpServer ¶
type ProfileService_BinaryDumpServer interface { Send(*FileChunk) error grpc.ServerStream }
type ProfileService_LookupProfileClient ¶
type ProfileService_LookupProfileClient interface { Recv() (*FileChunk, error) grpc.ClientStream }
type ProfileService_LookupProfileServer ¶
type ProfileService_LookupProfileServer interface { Send(*FileChunk) error grpc.ServerStream }
type ProfileService_NonLookupProfileClient ¶
type ProfileService_NonLookupProfileClient interface { Recv() (*FileChunk, error) grpc.ClientStream }
type ProfileService_NonLookupProfileServer ¶
type ProfileService_NonLookupProfileServer interface { Send(*FileChunk) error grpc.ServerStream }
type ProfileVariable ¶
type ProfileVariable int32
const ( ProfileVariable_MemProfileRate ProfileVariable = 0 ProfileVariable_CPUProfileRate ProfileVariable = 1 ProfileVariable_MutexProfileFraction ProfileVariable = 2 ProfileVariable_BlockProfileRate ProfileVariable = 3 )
func (ProfileVariable) Descriptor ¶
func (ProfileVariable) Descriptor() protoreflect.EnumDescriptor
func (ProfileVariable) Enum ¶
func (x ProfileVariable) Enum() *ProfileVariable
func (ProfileVariable) EnumDescriptor
deprecated
func (ProfileVariable) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProfileVariable.Descriptor instead.
func (ProfileVariable) Number ¶
func (x ProfileVariable) Number() protoreflect.EnumNumber
func (ProfileVariable) String ¶
func (x ProfileVariable) String() string
func (ProfileVariable) Type ¶
func (ProfileVariable) Type() protoreflect.EnumType
type ResetProfileInputType ¶
type ResetProfileInputType struct { Variable ProfileVariable `protobuf:"varint,1,opt,name=Variable,proto3,enum=proto.ProfileVariable" json:"Variable,omitempty"` // contains filtered or unexported fields }
func (*ResetProfileInputType) Descriptor
deprecated
func (*ResetProfileInputType) Descriptor() ([]byte, []int)
Deprecated: Use ResetProfileInputType.ProtoReflect.Descriptor instead.
func (*ResetProfileInputType) GetVariable ¶
func (x *ResetProfileInputType) GetVariable() ProfileVariable
func (*ResetProfileInputType) ProtoMessage ¶
func (*ResetProfileInputType) ProtoMessage()
func (*ResetProfileInputType) ProtoReflect ¶
func (x *ResetProfileInputType) ProtoReflect() protoreflect.Message
func (*ResetProfileInputType) Reset ¶
func (x *ResetProfileInputType) Reset()
func (*ResetProfileInputType) String ¶
func (x *ResetProfileInputType) String() string
type SetProfileInputType ¶
type SetProfileInputType struct { Variable ProfileVariable `protobuf:"varint,1,opt,name=Variable,proto3,enum=proto.ProfileVariable" json:"Variable,omitempty"` Rate int32 `protobuf:"varint,2,opt,name=Rate,proto3" json:"Rate,omitempty"` // contains filtered or unexported fields }
func (*SetProfileInputType) Descriptor
deprecated
func (*SetProfileInputType) Descriptor() ([]byte, []int)
Deprecated: Use SetProfileInputType.ProtoReflect.Descriptor instead.
func (*SetProfileInputType) GetRate ¶
func (x *SetProfileInputType) GetRate() int32
func (*SetProfileInputType) GetVariable ¶
func (x *SetProfileInputType) GetVariable() ProfileVariable
func (*SetProfileInputType) ProtoMessage ¶
func (*SetProfileInputType) ProtoMessage()
func (*SetProfileInputType) ProtoReflect ¶
func (x *SetProfileInputType) ProtoReflect() protoreflect.Message
func (*SetProfileInputType) Reset ¶
func (x *SetProfileInputType) Reset()
func (*SetProfileInputType) String ¶
func (x *SetProfileInputType) String() string
type StringType ¶
type StringType struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*StringType) Descriptor
deprecated
func (*StringType) Descriptor() ([]byte, []int)
Deprecated: Use StringType.ProtoReflect.Descriptor instead.
func (*StringType) GetMessage ¶
func (x *StringType) GetMessage() string
func (*StringType) ProtoMessage ¶
func (*StringType) ProtoMessage()
func (*StringType) ProtoReflect ¶
func (x *StringType) ProtoReflect() protoreflect.Message
func (*StringType) Reset ¶
func (x *StringType) Reset()
func (*StringType) String ¶
func (x *StringType) String() string
type UnimplementedProfileServiceServer ¶
type UnimplementedProfileServiceServer struct { }
UnimplementedProfileServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProfileServiceServer) BinaryDump ¶
func (*UnimplementedProfileServiceServer) BinaryDump(*empty.Empty, ProfileService_BinaryDumpServer) error
func (*UnimplementedProfileServiceServer) LookupProfile ¶
func (*UnimplementedProfileServiceServer) LookupProfile(*LookupProfileInputType, ProfileService_LookupProfileServer) error
func (*UnimplementedProfileServiceServer) NonLookupProfile ¶
func (*UnimplementedProfileServiceServer) NonLookupProfile(*NonLookupProfileInputType, ProfileService_NonLookupProfileServer) error
func (*UnimplementedProfileServiceServer) Ping ¶
func (*UnimplementedProfileServiceServer) Ping(context.Context, *empty.Empty) (*StringType, error)
func (*UnimplementedProfileServiceServer) Set ¶
func (*UnimplementedProfileServiceServer) Set(context.Context, *SetProfileInputType) (*IntType, error)
func (*UnimplementedProfileServiceServer) StopNonLookupProfile ¶
func (*UnimplementedProfileServiceServer) StopNonLookupProfile(context.Context, *NonLookupProfileType) (*empty.Empty, error)