Home
last modified time | relevance | path

Searched refs:os_id (Results 1 – 17 of 17) sorted by relevance

/external/compiler-rt/lib/lsan/
Dlsan_thread.cc90 void ThreadStart(u32 tid, uptr os_id) { in ThreadStart() argument
100 thread_registry->StartThread(tid, os_id, &args); in ThreadStart()
134 CurrentThreadContext()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
139 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
143 thread_registry->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked()
155 void ForEachExtraStackRange(uptr os_id, RangeIteratorCallback callback, in ForEachExtraStackRange() argument
Dlsan_common.h154 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end,
157 void ForEachExtraStackRange(uptr os_id, RangeIteratorCallback callback,
Dlsan_common.cc194 uptr os_id = static_cast<uptr>(suspended_threads.GetThreadID(i)); in ProcessThreads() local
195 LOG_THREADS("Processing thread %d.\n", os_id); in ProcessThreads()
198 bool thread_found = GetThreadRangesLocked(os_id, &stack_begin, &stack_end, in ProcessThreads()
204 LOG_THREADS("Thread %d not found in registry.\n", os_id); in ProcessThreads()
242 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
Dlsan_thread.h48 void ThreadStart(u32 tid, uptr os_id);
/external/compiler-rt/lib/asan/
Dasan_thread.cc234 uptr os_id, atomic_uintptr_t *signal_thread_is_registered) { in ThreadStart() argument
236 asanThreadRegistry().StartThread(tid(), os_id, nullptr); in ThreadStart()
385 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
388 __asan::AsanThread *GetAsanThreadByOsIDLocked(uptr os_id) { in GetAsanThreadByOsIDLocked() argument
390 __asan::asanThreadRegistry().FindThreadContextByOsIDLocked(os_id)); in GetAsanThreadByOsIDLocked()
398 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
401 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadRangesLocked()
414 void ForEachExtraStackRange(uptr os_id, RangeIteratorCallback callback, in ForEachExtraStackRange() argument
416 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in ForEachExtraStackRange()
Dasan_thread.h66 thread_return_t ThreadStart(uptr os_id,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase()
64 os_id = _os_id; in SetStarted()
191 return (tctx->os_id == (uptr)arg && tctx->status != ThreadStatusInvalid && in FindThreadContextByOsIdCallback()
195 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(uptr os_id) { in FindThreadContextByOsIDLocked() argument
197 (void *)os_id); in FindThreadContextByOsIDLocked()
269 void ThreadRegistry::StartThread(u32 tid, uptr os_id, void *arg) { in StartThread() argument
276 tctx->SetStarted(os_id, arg); in StartThread()
Dsanitizer_thread_registry.h42 uptr os_id; // PID (used for reporting). variable
111 ThreadContextBase *FindThreadContextByOsIDLocked(uptr os_id);
118 void StartThread(u32 tid, uptr os_id, void *arg);
/external/compiler-rt/test/tsan/
Ddebugging.cc23 unsigned long *os_id, int *running,
93 unsigned long os_id; in __tsan_on_report() local
98 __tsan_get_report_thread(report, 0, &tid, &os_id, &running, &name, &parent_tid, trace, 16); in __tsan_on_report()
102 __tsan_get_report_thread(report, 1, &tid, &os_id, &running, &name, &parent_tid, trace, 16); in __tsan_on_report()
/external/google-breakpad/src/processor/
Dmicrodump.cc206 string os_id; in Microdump() local
213 os_tokens >> os_id; in Microdump()
224 if (os_id == "L") { in Microdump()
227 } else if (os_id == "A") { in Microdump()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_debugging.cc141 int __tsan_get_report_thread(void *report, uptr idx, int *tid, uptr *os_id, in __tsan_get_report_thread() argument
148 *os_id = thread->os_id; in __tsan_get_report_thread()
Dtsan_report.h90 uptr os_id; member
Dtsan_rtl_thread.cc232 void ThreadStart(ThreadState *thr, int tid, uptr os_id) { in ThreadStart() argument
262 tr->StartThread(tid, os_id, &args); in ThreadStart()
Dtsan_rtl_report.cc197 rt->os_id = tctx->os_id; in AddThread()
Dtsan_report.cc239 rt->os_id, rt->running ? "running" : "finished", in PrintThread()
Dtsan_interface.h127 int __tsan_get_report_thread(void *report, uptr idx, int *tid, uptr *os_id,
Dtsan_rtl.h709 void ThreadStart(ThreadState *thr, int tid, uptr os_id);