4#include <clues/Tracee.hxx>
7#include <cosmos/proc/SubProc.hxx>
26 void create(
const cosmos::StringVector &args);
34 void cleanupChild()
override;
ChildTracee(Engine &engine, EventConsumer &consumer)
Create a traced process by creating a new process from prog_args
cosmos::SubProc m_child
the sub-process we're tracing
void create(const cosmos::StringVector &args)
Create the child process with the given parameters.
bool isChildProcess() const override
Returns whether the tracee is a child process created by us.
Callback interface for consumers of tracing events.
Tracee(Engine &engine, EventConsumer &consumer, TraceePtr sibling=nullptr)