Documentation ¶
Index ¶
- Variables
- type FunctionKey
- type FunctionStore
- type InMemorySQLiteMetaStore
- func (s InMemorySQLiteMetaStore) Close() error
- func (s InMemorySQLiteMetaStore) CreateFunction(ctx context.Context, fn *profile.Function) (uint64, error)
- func (s InMemorySQLiteMetaStore) CreateLocation(ctx context.Context, l *profile.Location) (uint64, error)
- func (s InMemorySQLiteMetaStore) CreateMapping(ctx context.Context, m *profile.Mapping) (uint64, error)
- func (s InMemorySQLiteMetaStore) GetFunctionByKey(ctx context.Context, k FunctionKey) (*profile.Function, error)
- func (s InMemorySQLiteMetaStore) GetFunctions(ctx context.Context) ([]*profile.Function, error)
- func (s InMemorySQLiteMetaStore) GetLocationByKey(ctx context.Context, k LocationKey) (*profile.Location, error)
- func (s InMemorySQLiteMetaStore) GetLocations(ctx context.Context) ([]*profile.Location, error)
- func (s InMemorySQLiteMetaStore) GetLocationsByIDs(ctx context.Context, ids ...uint64) (map[uint64]*profile.Location, error)
- func (s InMemorySQLiteMetaStore) GetMappingByKey(ctx context.Context, k MappingKey) (*profile.Mapping, error)
- func (s InMemorySQLiteMetaStore) GetMappingsByIDs(ctx context.Context, ids ...uint64) (map[uint64]*profile.Mapping, error)
- func (s InMemorySQLiteMetaStore) GetSymbolizableLocations(ctx context.Context) ([]*profile.Location, error)
- func (s InMemorySQLiteMetaStore) Ping() error
- func (s InMemorySQLiteMetaStore) Symbolize(ctx context.Context, l *profile.Location) error
- type Location
- type LocationKey
- type LocationStore
- type MappingKey
- type MappingStore
- type OnDiskSQLiteMetaStore
- func (s OnDiskSQLiteMetaStore) Close() error
- func (s OnDiskSQLiteMetaStore) CreateFunction(ctx context.Context, fn *profile.Function) (uint64, error)
- func (s OnDiskSQLiteMetaStore) CreateLocation(ctx context.Context, l *profile.Location) (uint64, error)
- func (s OnDiskSQLiteMetaStore) CreateMapping(ctx context.Context, m *profile.Mapping) (uint64, error)
- func (s OnDiskSQLiteMetaStore) GetFunctionByKey(ctx context.Context, k FunctionKey) (*profile.Function, error)
- func (s OnDiskSQLiteMetaStore) GetFunctions(ctx context.Context) ([]*profile.Function, error)
- func (s OnDiskSQLiteMetaStore) GetLocationByKey(ctx context.Context, k LocationKey) (*profile.Location, error)
- func (s OnDiskSQLiteMetaStore) GetLocations(ctx context.Context) ([]*profile.Location, error)
- func (s OnDiskSQLiteMetaStore) GetLocationsByIDs(ctx context.Context, ids ...uint64) (map[uint64]*profile.Location, error)
- func (s OnDiskSQLiteMetaStore) GetMappingByKey(ctx context.Context, k MappingKey) (*profile.Mapping, error)
- func (s OnDiskSQLiteMetaStore) GetMappingsByIDs(ctx context.Context, ids ...uint64) (map[uint64]*profile.Mapping, error)
- func (s OnDiskSQLiteMetaStore) GetSymbolizableLocations(ctx context.Context) ([]*profile.Location, error)
- func (s OnDiskSQLiteMetaStore) Ping() error
- func (s OnDiskSQLiteMetaStore) Symbolize(ctx context.Context, l *profile.Location) error
- type ProfileMetaStore
- type RemoteMetaStore
- func (s RemoteMetaStore) Close() error
- func (s RemoteMetaStore) CreateFunction(ctx context.Context, fn *profile.Function) (uint64, error)
- func (s RemoteMetaStore) CreateLocation(ctx context.Context, l *profile.Location) (uint64, error)
- func (s RemoteMetaStore) CreateMapping(ctx context.Context, m *profile.Mapping) (uint64, error)
- func (s RemoteMetaStore) GetFunctionByKey(ctx context.Context, k FunctionKey) (*profile.Function, error)
- func (s RemoteMetaStore) GetFunctions(ctx context.Context) ([]*profile.Function, error)
- func (s RemoteMetaStore) GetLocationByKey(ctx context.Context, k LocationKey) (*profile.Location, error)
- func (s RemoteMetaStore) GetLocations(ctx context.Context) ([]*profile.Location, error)
- func (s RemoteMetaStore) GetLocationsByIDs(ctx context.Context, ids ...uint64) (map[uint64]*profile.Location, error)
- func (s RemoteMetaStore) GetMappingByKey(ctx context.Context, k MappingKey) (*profile.Mapping, error)
- func (s RemoteMetaStore) GetMappingsByIDs(ctx context.Context, ids ...uint64) (map[uint64]*profile.Mapping, error)
- func (s RemoteMetaStore) GetSymbolizableLocations(ctx context.Context) ([]*profile.Location, error)
- func (s RemoteMetaStore) Ping() error
- func (s RemoteMetaStore) Symbolize(ctx context.Context, l *profile.Location) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FunctionKey ¶
func MakeFunctionKey ¶
func MakeFunctionKey(f *profile.Function) FunctionKey
type FunctionStore ¶
type InMemorySQLiteMetaStore ¶
type InMemorySQLiteMetaStore struct {
// contains filtered or unexported fields
}
func NewInMemorySQLiteProfileMetaStore ¶
func NewInMemorySQLiteProfileMetaStore( reg prometheus.Registerer, tracer trace.Tracer, name ...string, ) (*InMemorySQLiteMetaStore, error)
func (InMemorySQLiteMetaStore) CreateFunction ¶
func (InMemorySQLiteMetaStore) CreateLocation ¶
func (InMemorySQLiteMetaStore) CreateMapping ¶
func (InMemorySQLiteMetaStore) GetFunctionByKey ¶
func (InMemorySQLiteMetaStore) GetFunctions ¶
func (InMemorySQLiteMetaStore) GetLocationByKey ¶
func (InMemorySQLiteMetaStore) GetLocations ¶
func (InMemorySQLiteMetaStore) GetLocationsByIDs ¶
func (InMemorySQLiteMetaStore) GetMappingByKey ¶
func (InMemorySQLiteMetaStore) GetMappingsByIDs ¶
func (InMemorySQLiteMetaStore) GetSymbolizableLocations ¶
type Location ¶
type Location struct { ID uint64 Address uint64 LocationKey }
type LocationKey ¶
func MakeLocationKey ¶
func MakeLocationKey(l *profile.Location) LocationKey
type LocationStore ¶
type LocationStore interface { GetLocationByKey(ctx context.Context, k LocationKey) (*profile.Location, error) GetLocationsByIDs(ctx context.Context, id ...uint64) (map[uint64]*profile.Location, error) CreateLocation(ctx context.Context, l *profile.Location) (uint64, error) Symbolize(ctx context.Context, location *profile.Location) error GetSymbolizableLocations(ctx context.Context) ([]*profile.Location, error) }
type MappingKey ¶
func MakeMappingKey ¶
func MakeMappingKey(m *profile.Mapping) MappingKey
type MappingStore ¶
type OnDiskSQLiteMetaStore ¶
type OnDiskSQLiteMetaStore struct {
// contains filtered or unexported fields
}
func NewDiskProfileMetaStore ¶
func NewDiskProfileMetaStore( reg prometheus.Registerer, tracer trace.Tracer, path ...string, ) (*OnDiskSQLiteMetaStore, error)
func (OnDiskSQLiteMetaStore) CreateFunction ¶
func (OnDiskSQLiteMetaStore) CreateLocation ¶
func (OnDiskSQLiteMetaStore) CreateMapping ¶
func (OnDiskSQLiteMetaStore) GetFunctionByKey ¶
func (OnDiskSQLiteMetaStore) GetFunctions ¶
func (OnDiskSQLiteMetaStore) GetLocationByKey ¶
func (OnDiskSQLiteMetaStore) GetLocations ¶
func (OnDiskSQLiteMetaStore) GetLocationsByIDs ¶
func (OnDiskSQLiteMetaStore) GetMappingByKey ¶
func (OnDiskSQLiteMetaStore) GetMappingsByIDs ¶
func (OnDiskSQLiteMetaStore) GetSymbolizableLocations ¶
type ProfileMetaStore ¶
type ProfileMetaStore interface { LocationStore FunctionStore MappingStore Close() error Ping() error }
type RemoteMetaStore ¶
type RemoteMetaStore struct {
// contains filtered or unexported fields
}
func NewRemoteProfileMetaStore ¶
func NewRemoteProfileMetaStore(addr string) (*RemoteMetaStore, error)
func (RemoteMetaStore) CreateFunction ¶
func (RemoteMetaStore) CreateLocation ¶
func (RemoteMetaStore) CreateMapping ¶
func (RemoteMetaStore) GetFunctionByKey ¶
func (RemoteMetaStore) GetFunctions ¶
func (RemoteMetaStore) GetLocationByKey ¶
func (RemoteMetaStore) GetLocations ¶
func (RemoteMetaStore) GetLocationsByIDs ¶
func (RemoteMetaStore) GetMappingByKey ¶
func (RemoteMetaStore) GetMappingsByIDs ¶
func (RemoteMetaStore) GetSymbolizableLocations ¶
Click to show internal directories.
Click to hide internal directories.