Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExcludedSyscalls = getExcludedSyscalls()
Export excluded syscalls as used by this package and multiple testsuites
Functions ¶
Types ¶
type ExeRuntime ¶
ExeRuntime is the runtime of an individual executable
type ExecveTiming ¶
type ExecveTiming struct { TotalTime float64 // contains filtered or unexported fields }
ExecveTiming measures the execve calls timings under strace. This is useful for performance analysis. It keeps the N slowest samples.
func NewExecveTiming ¶
func NewExecveTiming(nSlowestSamples int) *ExecveTiming
NewExecveTiming returns a new ExecveTiming struct that keeps the given amount of the slowest exec samples.
func TraceExecveTimings ¶
func TraceExecveTimings(straceLog string, nSlowest int) (*ExecveTiming, error)
func (*ExecveTiming) Display ¶
func (stt *ExecveTiming) Display(w io.Writer)
Click to show internal directories.
Click to hide internal directories.