Lines Matching refs:MemprofThreadContext
25 // MemprofThreadContext implementation.
27 void MemprofThreadContext::OnCreated(void *arg) {
35 void MemprofThreadContext::OnFinished() {
48 return new (allocator_for_thread_context) MemprofThreadContext(tid);
56 // Never reuse MemProf threads: we store pointer to MemprofThreadContext
58 // be called. It would be wrong to reuse MemprofThreadContext for another
67 MemprofThreadContext *GetThreadContextByTidLocked(u32 tid) {
68 return static_cast<MemprofThreadContext *>(
82 MemprofThreadContext::CreateThreadContextArgs args = {thread, stack};
89 MemprofThreadContext *context = (MemprofThreadContext *)tsd;
191 MemprofThreadContext *context =
192 reinterpret_cast<MemprofThreadContext *>(TSDGet());
214 MemprofThreadContext *context =
215 reinterpret_cast<MemprofThreadContext *>(TSDGet());