package
Version:
v0.0.0-...-f59c3e7
Opens a new window with list of versions in this module.
Published: Feb 23, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Start the given LXD daemon debug activities.
Return a function that can be used to stop all debug activities that were
started, along with an error if any activity could not be started.
type Activity func() (activityFunc, error)
Activity creates a specific debug activity function, returning an error if it
can't be created for some reason.
CPU starts the Go CPU profiler, dumping to the given file.
Goroutines starts a task to print the goroutines stack at the given interval.
Memory is a debug activity that perpetually watches for SIGUSR1 signals and
dumps the memory to the given file whenever the signal is received.
If the given filename is the empty string, no profiler is started.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.