MCPcopy Create free account
hub / github.com/bloomberg/pystack / ProcessTracer

Class ProcessTracer

src/pystack/_pystack/process.h:34–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34class ProcessTracer
35{
36 public:
37 // Constructors
38 ProcessTracer(pid_t pid);
39 ProcessTracer(const ProcessTracer&) = delete;
40 ProcessTracer& operator=(const ProcessTracer&) = delete;
41
42 // Destructors
43 ~ProcessTracer();
44
45 // Methods
46 std::vector<int> getTids() const;
47
48 private:
49 // Data members
50 std::unordered_set<int> d_tids;
51
52 // Methods
53 void detachFromProcess();
54};
55
56class AbstractProcessManager : public std::enable_shared_from_this<AbstractProcessManager>
57{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected