trace

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package trace contains generated bindings for API file trace.api.

Contents:

6 messages

Index

Constants

View Source
const (
	APIFile    = "trace"
	APIVersion = "1.0.0"
	VersionCrc = 0x397cbf90
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

type RPCService interface {
	TraceProfileAdd(ctx context.Context, in *TraceProfileAdd) (*TraceProfileAddReply, error)
	TraceProfileDel(ctx context.Context, in *TraceProfileDel) (*TraceProfileDelReply, error)
	TraceProfileShowConfig(ctx context.Context, in *TraceProfileShowConfig) (*TraceProfileShowConfigReply, error)
}

RPCService defines RPC service trace.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type TraceProfileAdd

type TraceProfileAdd struct {
	TraceType uint8  `binapi:"u8,name=trace_type" json:"trace_type,omitempty"`
	NumElts   uint8  `binapi:"u8,name=num_elts" json:"num_elts,omitempty"`
	TraceTsp  uint8  `binapi:"u8,name=trace_tsp" json:"trace_tsp,omitempty"`
	NodeID    uint32 `binapi:"u32,name=node_id" json:"node_id,omitempty"`
	AppData   uint32 `binapi:"u32,name=app_data" json:"app_data,omitempty"`
}

TraceProfileAdd defines message 'trace_profile_add'.

func (*TraceProfileAdd) GetCrcString

func (*TraceProfileAdd) GetCrcString() string

func (*TraceProfileAdd) GetMessageName

func (*TraceProfileAdd) GetMessageName() string

func (*TraceProfileAdd) GetMessageType

func (*TraceProfileAdd) GetMessageType() api.MessageType

func (*TraceProfileAdd) Marshal

func (m *TraceProfileAdd) Marshal(b []byte) ([]byte, error)

func (*TraceProfileAdd) Reset

func (m *TraceProfileAdd) Reset()

func (*TraceProfileAdd) Size

func (m *TraceProfileAdd) Size() (size int)

func (*TraceProfileAdd) Unmarshal

func (m *TraceProfileAdd) Unmarshal(b []byte) error

type TraceProfileAddReply

type TraceProfileAddReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

TraceProfileAddReply defines message 'trace_profile_add_reply'.

func (*TraceProfileAddReply) GetCrcString

func (*TraceProfileAddReply) GetCrcString() string

func (*TraceProfileAddReply) GetMessageName

func (*TraceProfileAddReply) GetMessageName() string

func (*TraceProfileAddReply) GetMessageType

func (*TraceProfileAddReply) GetMessageType() api.MessageType

func (*TraceProfileAddReply) Marshal

func (m *TraceProfileAddReply) Marshal(b []byte) ([]byte, error)

func (*TraceProfileAddReply) Reset

func (m *TraceProfileAddReply) Reset()

func (*TraceProfileAddReply) Size

func (m *TraceProfileAddReply) Size() (size int)

func (*TraceProfileAddReply) Unmarshal

func (m *TraceProfileAddReply) Unmarshal(b []byte) error

type TraceProfileDel

type TraceProfileDel struct{}

TraceProfileDel defines message 'trace_profile_del'.

func (*TraceProfileDel) GetCrcString

func (*TraceProfileDel) GetCrcString() string

func (*TraceProfileDel) GetMessageName

func (*TraceProfileDel) GetMessageName() string

func (*TraceProfileDel) GetMessageType

func (*TraceProfileDel) GetMessageType() api.MessageType

func (*TraceProfileDel) Marshal

func (m *TraceProfileDel) Marshal(b []byte) ([]byte, error)

func (*TraceProfileDel) Reset

func (m *TraceProfileDel) Reset()

func (*TraceProfileDel) Size

func (m *TraceProfileDel) Size() (size int)

func (*TraceProfileDel) Unmarshal

func (m *TraceProfileDel) Unmarshal(b []byte) error

type TraceProfileDelReply

type TraceProfileDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

TraceProfileDelReply defines message 'trace_profile_del_reply'.

func (*TraceProfileDelReply) GetCrcString

func (*TraceProfileDelReply) GetCrcString() string

func (*TraceProfileDelReply) GetMessageName

func (*TraceProfileDelReply) GetMessageName() string

func (*TraceProfileDelReply) GetMessageType

func (*TraceProfileDelReply) GetMessageType() api.MessageType

func (*TraceProfileDelReply) Marshal

func (m *TraceProfileDelReply) Marshal(b []byte) ([]byte, error)

func (*TraceProfileDelReply) Reset

func (m *TraceProfileDelReply) Reset()

func (*TraceProfileDelReply) Size

func (m *TraceProfileDelReply) Size() (size int)

func (*TraceProfileDelReply) Unmarshal

func (m *TraceProfileDelReply) Unmarshal(b []byte) error

type TraceProfileShowConfig

type TraceProfileShowConfig struct{}

TraceProfileShowConfig defines message 'trace_profile_show_config'.

func (*TraceProfileShowConfig) GetCrcString

func (*TraceProfileShowConfig) GetCrcString() string

func (*TraceProfileShowConfig) GetMessageName

func (*TraceProfileShowConfig) GetMessageName() string

func (*TraceProfileShowConfig) GetMessageType

func (*TraceProfileShowConfig) GetMessageType() api.MessageType

func (*TraceProfileShowConfig) Marshal

func (m *TraceProfileShowConfig) Marshal(b []byte) ([]byte, error)

func (*TraceProfileShowConfig) Reset

func (m *TraceProfileShowConfig) Reset()

func (*TraceProfileShowConfig) Size

func (m *TraceProfileShowConfig) Size() (size int)

func (*TraceProfileShowConfig) Unmarshal

func (m *TraceProfileShowConfig) Unmarshal(b []byte) error

type TraceProfileShowConfigReply

type TraceProfileShowConfigReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	TraceType uint8  `binapi:"u8,name=trace_type" json:"trace_type,omitempty"`
	NumElts   uint8  `binapi:"u8,name=num_elts" json:"num_elts,omitempty"`
	TraceTsp  uint8  `binapi:"u8,name=trace_tsp" json:"trace_tsp,omitempty"`
	NodeID    uint32 `binapi:"u32,name=node_id" json:"node_id,omitempty"`
	AppData   uint32 `binapi:"u32,name=app_data" json:"app_data,omitempty"`
}

TraceProfileShowConfigReply defines message 'trace_profile_show_config_reply'.

func (*TraceProfileShowConfigReply) GetCrcString

func (*TraceProfileShowConfigReply) GetCrcString() string

func (*TraceProfileShowConfigReply) GetMessageName

func (*TraceProfileShowConfigReply) GetMessageName() string

func (*TraceProfileShowConfigReply) GetMessageType

func (*TraceProfileShowConfigReply) GetMessageType() api.MessageType

func (*TraceProfileShowConfigReply) Marshal

func (m *TraceProfileShowConfigReply) Marshal(b []byte) ([]byte, error)

func (*TraceProfileShowConfigReply) Reset

func (m *TraceProfileShowConfigReply) Reset()

func (*TraceProfileShowConfigReply) Size

func (m *TraceProfileShowConfigReply) Size() (size int)

func (*TraceProfileShowConfigReply) Unmarshal

func (m *TraceProfileShowConfigReply) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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