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