libclues
Linux C++ Tracing Library
Loading...
Searching...
No Matches
AutoAttachedTracee.hxx
1#pragma once
2
3// clues
4#include <clues/Tracee.hxx>
5
6namespace clues {
7
9
13class CLUES_API AutoAttachedTracee :
14 public Tracee {
15public: // functions
16
18 AutoAttachedTracee(Engine &engine, EventConsumer &consumer,
19 TraceePtr parent);
20
21 ~AutoAttachedTracee() override;
22
24
28 void configure(const cosmos::ProcessID pid, const cosmos::ptrace::Event event, const SystemCall &sc);
29};
30
31} // end ns
32
AutoAttachedTracee(Engine &engine, EventConsumer &consumer, TraceePtr parent)
Create a traced process object by attaching to the given process ID.
void configure(const cosmos::ProcessID pid, const cosmos::ptrace::Event event, const SystemCall &sc)
Sets the given process ID as the process to be traced.
Callback interface for consumers of tracing events.
Tracee(Engine &engine, EventConsumer &consumer, TraceePtr sibling=nullptr)
Definition Tracee.cxx:100