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

Method detachFromProcess

src/pystack/_pystack/process.cpp:193–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void
194ProcessTracer::detachFromProcess()
195{
196 for (auto& tid : d_tids) {
197 LOG(INFO) << "Detaching from thread " << tid;
198 ptrace(PTRACE_DETACH, tid, nullptr, nullptr);
199 }
200}
201
202ProcessTracer::~ProcessTracer()
203{

Callers

nothing calls this directly

Calls 1

LOGClass · 0.85

Tested by

no test coverage detected