| /openbsd/src/gnu/llvm/llvm/lib/Support/ |
| D | TimeProfiler.cpp | 101 Tid(llvm::get_threadid()), TimeTraceGranularity(TimeTraceGranularity) { in TimeTraceProfiler() 164 auto writeEvent = [&](const auto &E, uint64_t Tid) { in write() argument 170 J.attribute("tid", int64_t(Tid)); in write() 181 writeEvent(E, this->Tid); in write() 184 writeEvent(E, TTP->Tid); in write() 189 uint64_t MaxTid = this->Tid; in write() 191 MaxTid = std::max(MaxTid, TTP->Tid); in write() 240 auto writeMetadataEvent = [&](const char *Name, uint64_t Tid, in write() 245 J.attribute("tid", int64_t(Tid)); in write() 253 writeMetadataEvent("process_name", Tid, ProcName); in write() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| D | tsan_report.h | 77 Tid tid = kInvalidTid; 85 Tid id; 90 Tid parent_tid; 109 Vector<Tid> unique_tids;
|
| D | tsan_rtl_thread.cpp | 24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext() 116 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() 118 Tid parent = kInvalidTid; in ThreadCreate() 130 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent, &arg); in ThreadCreate() 152 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, in ThreadStart() 284 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadConsumeTid() 293 void ThreadJoin(ThreadState *thr, uptr pc, Tid tid) { in ThreadJoin() 316 void ThreadDetach(ThreadState *thr, uptr pc, Tid tid) { in ThreadDetach() 323 void ThreadNotJoined(ThreadState *thr, uptr pc, Tid tid, uptr uid) { in ThreadNotJoined() 344 Tid tid = ThreadCreate(thr, pc, 0, true); in FiberCreate()
|
| D | tsan_rtl.h | 135 Tid tid; 201 const Tid tid; 236 explicit ThreadState(Tid tid); 266 explicit ThreadContext(Tid tid); 409 void AddMemoryAccess(uptr addr, uptr external_tag, Shadow s, Tid tid, 413 void AddThread(Tid tid, bool suppressable = false); 414 void AddUniqueTid(Tid unique_tid); 558 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached); 559 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, 562 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid); [all …]
|
| D | tsan_rtl_report.cpp | 178 Tid tid, StackTrace stack, in AddMemoryAccess() 202 void ScopedReportBase::AddUniqueTid(Tid unique_tid) { in AddUniqueTid() 226 static ThreadContext *FindThreadByTidLocked(Tid tid) { in FindThreadByTidLocked() 257 void ScopedReportBase::AddThread(Tid tid, bool suppressable) { in AddThread() 282 Tid creat_tid = kInvalidTid; in AddLocation() 433 AccessType typ, Tid *ptid, VarSizeStackTrace *pstk, in RestoreStack() 444 Tid tid = kInvalidTid; in RestoreStack() 754 Tid tids[kMop] = {thr->tid, kInvalidTid}; in ReportRace() 808 Tid parent_tid = rep_desc->threads[i]->parent_tid; in ReportRace()
|
| D | tsan_platform_mac.cpp | 81 const_cast<Tid &>(dts->tid) = kInvalidTid; in InitializeThreadStateStorage() 211 Tid tid = ThreadCreate(parent_thread_state, 0, (uptr)thread, true); in ThreadCreateCallback()
|
| D | tsan_fd.h | 57 bool FdLocation(uptr addr, int *fd, Tid *tid, StackID *stack, bool *closed);
|
| D | tsan_sync.h | 58 Tid owner_tid; // Set only by exclusive owners.
|
| D | tsan_defs.h | 187 Tid tid;
|
| D | tsan_fd.cpp | 35 Tid creation_tid; 160 bool FdLocation(uptr addr, int *fd, Tid *tid, StackID *stack, bool *closed) { in FdLocation()
|
| D | tsan_rtl.cpp | 144 static_cast<Tid>(i)); in DoResetImpl() 386 thread_registry([](Tid tid) -> ThreadContextBase* { in Context() 406 ThreadState::ThreadState(Tid tid) in ThreadState() 729 Tid tid = ThreadCreate(nullptr, 0, 0, true); in Initialize()
|
| D | tsan_report.cpp | 55 const char *thread_name(char *buf, Tid tid) { in thread_name() 384 const Tid kMainGoroutineId = 1;
|
| D | tsan_interceptors_posix.cpp | 1010 Tid tid; 1106 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR() 1120 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR() 1141 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR() 1155 Tid tid = ThreadConsumeTid(thr, pc, (uptr)th); in TSAN_INTERCEPTOR()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/safestack/ |
| D | safestack_platform.h | 73 long Tid; in GetTid() 74 thr_self(&Tid); in GetTid() 75 return Tid; in GetTid()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/ |
| D | tsan_trace_test.cpp | 40 Tid tid = ThreadCreate(cur_thread(), 0, 0, true); in ThreadArray() 92 Tid tid = kInvalidTid; in TRACE_TEST() 152 Tid tid = kInvalidTid; in TRACE_TEST() 180 Tid tid = kInvalidTid; in TRACE_TEST() 223 Tid tid = kInvalidTid; in TRACE_TEST()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_internal_defs.h | 430 typedef u32 Tid; typedef 431 constexpr Tid kInvalidTid = -1; 432 constexpr Tid kMainTid = 0;
|
| D | sanitizer_thread_registry.h | 158 DenseMap<uptr, Tid> live_;
|
| D | sanitizer_linux.cpp | 556 long Tid; in GetTid() local 557 thr_self(&Tid); in GetTid() 558 return Tid; in GetTid()
|
| /openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| D | PerfJITEventListener.cpp | 140 uint32_t Tid; member 423 rec.Tid = get_threadid(); in NotifyCode()
|
| /openbsd/src/gnu/usr.bin/perl/dist/threads/t/ |
| D | basic.t | 108 ok(16, threads->tid() == 9, "Tid should be correct in the clone");
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/go/ |
| D | tsan_go.cpp | 223 Tid goid = ThreadCreate(parent, (uptr)pc, 0, true); in __tsan_go_start()
|
| /openbsd/src/sys/stand/efi/include/ |
| D | efidevp.h | 211 UINT32 Tid; member
|
| /openbsd/src/gnu/llvm/llvm/docs/ |
| D | GettingInvolved.rst | 286 …MxNzU4MWYtYzViNS00OTM2LWJmNWQtMjg5ZWFhNGVjNzgw%40thread.v2/0?context=%7b%22Tid%22%3a%22a722dec9-ae… 311 …RmN2UwYTgtODdiOS00N2VkLTgxZjgtNDUxYjI3YmNkM2Ri%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e3… 329 …Q0MjU0NjYtZjUyMi00YTU3LThmM2EtY2Y2YTE4NGM3NmFi%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e3…
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| D | combined.h | 1297 u32 Tid = getThreadID(); in storeSecondaryAllocationStackMaybe() local 1301 Ptr32[MemTagAllocationTidIndex] = Tid; in storeSecondaryAllocationStackMaybe() 1303 storeRingBufferEntry(untagPointer(Ptr), Trace, Tid, Size, 0, 0); in storeSecondaryAllocationStackMaybe()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| D | OpenMPOpt.cpp | 3798 CallInst *Tid = in insertInstructionGuardsHelper() local 3800 Tid->setDebugLoc(DL); in insertInstructionGuardsHelper() 3801 OMPInfoCache.setCallingConvention(HardwareTidFn, Tid); in insertInstructionGuardsHelper() 3802 Value *TidCheck = OMPInfoCache.OMPBuilder.Builder.CreateIsNull(Tid); in insertInstructionGuardsHelper() 3815 OMPInfoCache.OMPBuilder.Builder.CreateCall(BarrierFn, {Ident, Tid}); in insertInstructionGuardsHelper() 3821 CallInst *Barrier = CallInst::Create(BarrierFn, {Ident, Tid}, "", in insertInstructionGuardsHelper()
|