Versions in this module Expand all Collapse all v0 v0.0.1 Mar 17, 2024 Changes in this version + const CPUForTests + const SIGKILL + const SIGTERM + var TraceeBinary = "../../dist/tracee" + var TraceeHostname = "localhost" + var TraceePort = 3366 + func DiscoverChildProcesses(pid int) ([]int, error) + func ExecCmdBgWithSudoAndCtx(ctx context.Context, command string) (int, chan error) + func ExecPinnedCmdWithTimeout(command string, timeout time.Duration) (int, error) + func IsSudoCmdAvailableForThisUser() bool + func ParseCmd(fullCmd string) (string, []string, error) + func PinProccessToCPU(id ...int) error + func SudoKillProcess(pid int, force bool) error + type RunningTracee struct + func NewRunningTracee(givenCtx context.Context, cmdLine string) *RunningTracee + func (r *RunningTracee) IsReady() bool + func (r *RunningTracee) Start() (<-chan TraceeStatus, error) + func (r *RunningTracee) Stop() error + type TraceeStatus int + const TraceeAlreadyRunning + const TraceeFailed + const TraceeStarted + const TraceeTimedout