Documentation ¶
Index ¶
- func CheckProfilingTaskConfig(taskConfig *base.TaskConfig, moduleMgr *module.Manager) error
- func NewProfilingRunner(taskType base.TargetType, taskConfig *base.TaskConfig, ...) (base.ProfileTaskRunner, error)
- type Context
- type Manager
- func (m *Manager) BuildContextFromCommand(command *common_v3.Command) (*Context, error)
- func (m *Manager) BuildContextFromContinuous(processes []api.ProcessInterface, taskSetter func(task *base.ProfilingTask), ...) (*Context, error)
- func (m *Manager) FlushProfilingData() error
- func (m *Manager) Shutdown() error
- func (m *Manager) ShutdownAndRemoveTask(c *Context) error
- func (m *Manager) Start()
- func (m *Manager) StartTask(c *Context)
- func (m *Manager) StartingWatchTask() error
- type RunningStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckProfilingTaskConfig ¶
func CheckProfilingTaskConfig(taskConfig *base.TaskConfig, moduleMgr *module.Manager) error
func NewProfilingRunner ¶
func NewProfilingRunner(taskType base.TargetType, taskConfig *base.TaskConfig, moduleMgr *module.Manager) (base.ProfileTaskRunner, error)
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context of profiling task
func (*Context) BuildTaskIdentity ¶
BuildTaskIdentity for filter with same identity task
func (*Context) CheckTaskRunnable ¶
CheckTaskRunnable means checks the task could be running
func (*Context) IsSameTask ¶ added in v0.3.0
func (*Context) RunningTime ¶ added in v0.5.0
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) BuildContextFromCommand ¶ added in v0.5.0
func (*Manager) BuildContextFromContinuous ¶ added in v0.5.0
func (m *Manager) BuildContextFromContinuous(processes []api.ProcessInterface, taskSetter func(task *base.ProfilingTask), taskIDGenerator func() (string, error)) (*Context, error)
func (*Manager) FlushProfilingData ¶ added in v0.5.0
func (*Manager) ShutdownAndRemoveTask ¶ added in v0.4.0
func (*Manager) StartingWatchTask ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.