Documentation
¶
Index ¶
Constants ¶
View Source
const DEBUGFS = "/sys/kernel/debug/tracing"
View Source
const KPROBELIST = "/sys/kernel/debug/kprobes/blacklist"
View Source
const TRACEFS = "/sys/kernel/tracing"
Variables ¶
This section is empty.
Functions ¶
func KprobeExists ¶
func PrintStack ¶
func PrintStack()
func PrintStructFields ¶
func PrintStructFields(s interface{})
func ReadCPURange ¶
loosely based on https://github.com/iovisor/bcc/blob/v0.3.0/src/python/bcc/utils.py#L15
func TracePointExists ¶
Types ¶
type AggregationType ¶
type AggregationType string
const ( AverageAggregationType AggregationType = "average" SumAggregationType AggregationType = "sum" )
func (AggregationType) String ¶
func (a AggregationType) String() string
type Metadata ¶
type Metadata struct {
SpyName string
SampleRate uint32
Units Units
AggregationType AggregationType
}
Click to show internal directories.
Click to hide internal directories.