Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventStream ¶
NewEventStream creates a new system-wide process event stream.
func NewEventStreamForCgroup ¶
NewEventStreamForCgroup creates a new process event stream for the cgroup of the given name. The named cgroup must exist under /sys/fs/cgroup/perf_event.
func NewEventStreamForPid ¶
NewEventStreamForPid creates a new process event stream rooted at the process with the given pid.
func NewEventStreamForPidAndCPU ¶
NewEventStreamForPidAndCPU creates a new process event stream for the specified pid and cpu numbers. When run from within a container, the process events for processes within a container contain the host process ids.
Types ¶
Click to show internal directories.
Click to hide internal directories.