Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/external/valgrind/coregrind/
Dm_threadstate.c56 ThreadId tid; in VG_() local
66 for (tid = 1; tid < VG_N_THREADS; tid++) { in VG_()
68 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, in VG_()
69 sizeof(VG_(threads)[tid].status), "")); in VG_()
71 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, in VG_()
72 sizeof(VG_(threads)[tid].os_state.exitcode), in VG_()
101 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_()
103 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
104 vg_assert(VG_(threads)[tid].tid == tid); in VG_()
105 return &VG_(threads)[tid]; in VG_()
[all …]
Dm_machine.c48 Addr VG_(get_IP) ( ThreadId tid ) { in VG_()
49 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_()
51 Addr VG_(get_SP) ( ThreadId tid ) { in VG_()
52 return STACK_PTR( VG_(threads)[tid].arch ); in VG_()
54 Addr VG_(get_FP) ( ThreadId tid ) { in VG_()
55 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_()
58 void VG_(set_IP) ( ThreadId tid, Addr ip ) { in VG_()
59 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_()
61 void VG_(set_SP) ( ThreadId tid, Addr sp ) { in VG_()
62 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_()
[all …]
Dm_signals.c697 static Bool is_sig_ign(vki_siginfo_t *info, ThreadId tid) in is_sig_ign() argument
704 return !VG_(gdbserver_report_signal) (info, tid) in is_sig_ign()
1064 static Bool on_sig_stack ( ThreadId tid, Addr m_SP ) in on_sig_stack() argument
1066 ThreadState *tst = VG_(get_ThreadState)(tid); in on_sig_stack()
1071 static Int sas_ss_flags ( ThreadId tid, Addr m_SP ) in sas_ss_flags() argument
1073 ThreadState *tst = VG_(get_ThreadState)(tid); in sas_ss_flags()
1077 : on_sig_stack(tid, m_SP) ? VKI_SS_ONSTACK : 0); in sas_ss_flags()
1081 SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, vki_stack_t* oss ) in VG_()
1085 vg_assert(VG_(is_valid_tid)(tid)); in VG_()
1086 m_SP = VG_(get_SP)(tid); in VG_()
[all …]
Dpub_core_replacemalloc.h44 void* (*tl_malloc) (ThreadId tid, SizeT n);
45 void* (*tl___builtin_new) (ThreadId tid, SizeT n);
46 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n);
47 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n);
48 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n);
49 void (*tl_free) (ThreadId tid, void* p);
50 void (*tl___builtin_delete) (ThreadId tid, void* p);
51 void (*tl___builtin_vec_delete)(ThreadId tid, void* p);
52 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size);
53 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload);
[all …]
/external/valgrind/drd/
Ddrd_thread.c48 static void thread_append_segment(const DrdThreadId tid, Segment* const sg);
49 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg);
51 const DrdThreadId tid);
52 static Bool thread_conflict_set_up_to_date(const DrdThreadId tid);
159 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) in DRD_()
163 if (tid == VG_INVALID_THREADID) in DRD_()
169 && DRD_(g_threadinfo)[i].vg_threadid == tid) in DRD_()
179 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) in DRD_()
183 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); in DRD_()
193 DRD_(g_threadinfo)[i].vg_threadid = tid; in DRD_()
[all …]
Ddrd_thread.h135 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid);
136 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid);
137 DrdThreadId DRD_(PtThreadIdToDrdThreadId)(const PThreadId tid);
138 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid);
143 void DRD_(thread_delete)(const DrdThreadId tid, Bool detached);
144 void DRD_(thread_finished)(const DrdThreadId tid);
145 void DRD_(drd_thread_atfork_child)(const DrdThreadId tid);
146 void DRD_(thread_pre_cancel)(const DrdThreadId tid);
147 void DRD_(thread_set_stack_startup)(const DrdThreadId tid,
149 Addr DRD_(thread_get_stack_min)(const DrdThreadId tid);
[all …]
Ddrd_malloc_wrappers.c70 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() argument
80 DRD_(malloclike_block)(tid, (Addr)p, size); in new_block()
89 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_()
105 mc->where = VG_(record_ExeContext)(tid, 0); in DRD_()
109 static void handle_free(ThreadId tid, void* p) in handle_free() argument
114 success = DRD_(freelike_block)(tid, (Addr)p, True); in handle_free()
122 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_()
146 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() argument
148 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd_malloc()
152 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign() argument
[all …]
Ddrd_error.h102 DrdThreadId tid; // Thread ID of the running thread. member
109 DrdThreadId tid; member
116 DrdThreadId tid; member
121 DrdThreadId tid; member
128 DrdThreadId tid; member
134 DrdThreadId tid; member
141 DrdThreadId tid; member
146 DrdThreadId tid; member
153 DrdThreadId tid; member
158 DrdThreadId tid; member
[all …]
Ddrd_hb.c41 UWord tid; // A DrdThreadId declared as UWord because member
70 const DrdThreadId tid) in DRD_()
72 p->tid = tid; in DRD_()
120 .tid = DRD_(thread_get_running_tid)(), in wrong_type()
157 void DRD_(hb_happens_before)(const DrdThreadId tid, Addr const hb) in DRD_()
161 const UWord word_tid = tid; in DRD_()
178 DRD_(hb_thread_initialize)(q, tid); in DRD_()
187 DRD_(thread_get_latest_segment)(&q->sg, tid); in DRD_()
192 void DRD_(hb_happens_after)(const DrdThreadId tid, const Addr hb) in DRD_()
207 DRD_(thread_new_segment)(tid); in DRD_()
[all …]
/external/valgrind/coregrind/m_scheduler/
Dscheduler.c125 static void do_client_request ( ThreadId tid );
126 static void scheduler_sanity ( ThreadId tid );
127 static void mostly_clear_thread_record ( ThreadId tid );
176 void print_sched_event ( ThreadId tid, const HChar* what ) in print_sched_event() argument
178 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); in print_sched_event()
263 void VG_(acquire_BigLock)(ThreadId tid, const HChar* who) in VG_()
271 print_sched_event(tid, buf); in VG_()
280 tst = VG_(get_ThreadState)(tid); in VG_()
287 VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid)); in VG_()
289 VG_(running_tid) = tid; in VG_()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc19 ThreadContextBase::ThreadContextBase(u32 tid) in ThreadContextBase() argument
20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase()
75 if (tid != 0) in SetCreated()
124 u32 tid = kUnknownTid; in CreateThread() local
127 tid = tctx->tid; in CreateThread()
130 tid = n_contexts_++; in CreateThread()
131 tctx = context_factory_(tid); in CreateThread()
132 threads_[tid] = tctx; in CreateThread()
144 CHECK_NE(tid, kUnknownTid); in CreateThread()
145 CHECK_LT(tid, max_threads_); in CreateThread()
[all …]
/external/chromium-trace/trace-viewer/tracing/test_data/
Dsimple_trace_gz.gz
/external/linux-tools-perf/src/tools/perf/scripts/python/
Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, argument
30 process_names[tid] = comm
31 thread_thislock[tid] = uaddr
32 thread_blocktime[tid] = nsecs(s, ns)
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, argument
36 if thread_blocktime.has_key(tid):
37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
38 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
39 del thread_blocktime[tid]
40 del thread_thislock[tid]
[all …]
/external/icu/icu4c/source/data/zone/
Dda.txt1258 lg{"Acre-tid"}
1262 ls{"Afghansk tid"}
1265 ls{"Centralafrikansk tid"}
1268 ls{"Østafrikansk tid"}
1271 ls{"Sydafrikansk tid"}
1275 lg{"Vestafrikansk tid"}
1280 lg{"Alaska-tid"}
1285 lg{"Almaty-tid"}
1290 lg{"Amazonas-tid"}
1295 lg{"Central-tid"}
[all …]
/external/lldb/source/Plugins/Process/Utility/
DRegisterContextMach_arm.cpp36 RegisterContextMach_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
39 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
43 RegisterContextMach_arm::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) in DoReadFPU() argument
46 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
50 RegisterContextMach_arm::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) in DoReadEXC() argument
53 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
57 RegisterContextMach_arm::DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg) in DoReadDBG() argument
60 return ::thread_get_state(tid, flavor, (thread_state_t)&dbg, &count); in DoReadDBG()
64 RegisterContextMach_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
66 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
[all …]
DRegisterContextMach_i386.cpp34 RegisterContextMach_i386::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
41 RegisterContextMach_i386::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) in DoReadFPU() argument
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
48 RegisterContextMach_i386::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) in DoReadEXC() argument
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
55 RegisterContextMach_i386::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
61 RegisterContextMach_i386::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) in DoWriteFPU() argument
63 return ::thread_set_state(tid, flavor, (thread_state_t)&fpu, FPUWordCount); in DoWriteFPU()
[all …]
DRegisterContextMach_x86_64.cpp34 RegisterContextMach_x86_64::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
41 RegisterContextMach_x86_64::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) in DoReadFPU() argument
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
48 RegisterContextMach_x86_64::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) in DoReadEXC() argument
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
55 RegisterContextMach_x86_64::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
61 RegisterContextMach_x86_64::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) in DoWriteFPU() argument
63 return ::thread_set_state(tid, flavor, (thread_state_t)&fpu, FPUWordCount); in DoWriteFPU()
[all …]
/external/llvm/test/CodeGen/R600/
Dcommute-compares.ll12 %tid = call i32 @llvm.r600.read.tidig.x() #0
13 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
14 %gep.out = getelementptr i32, i32 addrspace(1)* %out, i32 %tid
25 %tid = call i32 @llvm.r600.read.tidig.x() #0
26 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
27 %gep.out = getelementptr i32, i32 addrspace(1)* %out, i32 %tid
40 %tid = call i32 @llvm.r600.read.tidig.x() #0
41 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
42 %gep.out = getelementptr i32, i32 addrspace(1)* %out, i32 %tid
53 %tid = call i32 @llvm.r600.read.tidig.x() #0
[all …]
Dmad-sub.ll13 %tid = tail call i32 @llvm.r600.read.tidig.x() #0
14 %tid.ext = sext i32 %tid to i64
15 %gep0 = getelementptr float, float addrspace(1)* %ptr, i64 %tid.ext
16 %add1 = add i64 %tid.ext, 1
18 %add2 = add i64 %tid.ext, 2
20 %outgep = getelementptr float, float addrspace(1)* %out, i64 %tid.ext
37 %tid = tail call i32 @llvm.r600.read.tidig.x() #0
38 %tid.ext = sext i32 %tid to i64
39 %gep0 = getelementptr float, float addrspace(1)* %ptr, i64 %tid.ext
40 %add1 = add i64 %tid.ext, 1
[all …]
/external/elfutils/src/libdwfl/
Dlinux-pid-attach.c68 __libdwfl_ptrace_attach (pid_t tid, bool *tid_was_stoppedp) in __libdwfl_ptrace_attach() argument
70 if (ptrace (PTRACE_ATTACH, tid, NULL, NULL) != 0) in __libdwfl_ptrace_attach()
75 *tid_was_stoppedp = linux_proc_pid_is_stopped (tid); in __libdwfl_ptrace_attach()
84 syscall (__NR_tkill, tid, SIGSTOP); in __libdwfl_ptrace_attach()
85 ptrace (PTRACE_CONT, tid, NULL, NULL); in __libdwfl_ptrace_attach()
90 if (waitpid (tid, &status, __WALL) != tid || !WIFSTOPPED (status)) in __libdwfl_ptrace_attach()
93 ptrace (PTRACE_DETACH, tid, NULL, NULL); in __libdwfl_ptrace_attach()
100 if (ptrace (PTRACE_CONT, tid, NULL, in __libdwfl_ptrace_attach()
104 ptrace (PTRACE_DETACH, tid, NULL, NULL); in __libdwfl_ptrace_attach()
117 pid_t tid = pid_arg->tid_attached; in pid_memory_read() local
[all …]
/external/lldb/source/Plugins/Process/POSIX/
DProcessMessage.h83 static ProcessMessage Limbo(lldb::tid_t tid, int status) { in Limbo() argument
84 return ProcessMessage(tid, eLimboMessage, status); in Limbo()
88 static ProcessMessage Signal(lldb::tid_t tid, int signum) { in Signal() argument
89 return ProcessMessage(tid, eSignalMessage, signum); in Signal()
94 static ProcessMessage SignalDelivered(lldb::tid_t tid, int signum) { in SignalDelivered() argument
95 return ProcessMessage(tid, eSignalDeliveredMessage, signum); in SignalDelivered()
99 static ProcessMessage Trace(lldb::tid_t tid) { in Trace() argument
100 return ProcessMessage(tid, eTraceMessage); in Trace()
104 static ProcessMessage Break(lldb::tid_t tid) { in Break() argument
105 return ProcessMessage(tid, eBreakpointMessage); in Break()
[all …]
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
DRegisterContextKDP_arm.cpp34 RegisterContextKDP_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
40 …cessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, GPRRegSet, &gpr, s… in DoReadGPR()
50 RegisterContextKDP_arm::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) in DoReadFPU() argument
56 …cessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, FPURegSet, &fpu, s… in DoReadFPU()
66 RegisterContextKDP_arm::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) in DoReadEXC() argument
72 …cessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, EXCRegSet, &exc, s… in DoReadEXC()
82 RegisterContextKDP_arm::DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg) in DoReadDBG() argument
88 …cessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, DBGRegSet, &dbg, s… in DoReadDBG()
98 RegisterContextKDP_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
104 …essKDP *>(process_sp.get())->GetCommunication().SendRequestWriteRegisters (tid, GPRRegSet, &gpr, s… in DoWriteGPR()
[all …]
/external/valgrind/memcheck/
Dmc_malloc_wrappers.c78 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB,
190 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB, in create_MC_Chunk() argument
203 MC_(set_allocated_at) (tid, mc); in create_MC_Chunk()
295 void MC_(set_allocated_at) (ThreadId tid, MC_Chunk* mc) in MC_()
305 mc->where[0] = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ ); in MC_()
308 void MC_(set_freed_at) (ThreadId tid, MC_Chunk* mc) in MC_()
319 mc->where[pos] = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ ); in MC_()
339 void* MC_(new_block) ( ThreadId tid, in MC_()
366 mc = create_MC_Chunk (tid, p, szB, kind); in MC_()
380 void* MC_(malloc) ( ThreadId tid, SizeT n ) in MC_()
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc251 unsigned tid; member
253 explicit SimpleThreadClock(unsigned tid) { in SimpleThreadClock()
254 this->tid = tid; in SimpleThreadClock()
255 size = tid + 1; in SimpleThreadClock()
261 clock[tid]++; in tick()
327 unsigned tid = rand() % kThreads; in ClockFuzzer() local
329 thr0[tid]->tick(); in ClockFuzzer()
330 thr1[tid]->tick(); in ClockFuzzer()
335 printf("acquire thr%d <- clk%d\n", tid, cid); in ClockFuzzer()
336 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer()
[all …]
/external/valgrind/include/
Dpub_tool_tooliface.h69 ThreadId tid; /* tid requesting translation */ member
422 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret)
437 void (* pre_syscall)(ThreadId tid, UInt syscallno,
439 void (*post_syscall)(ThreadId tid, UInt syscallno,
474 void* (*pmalloc) ( ThreadId tid, SizeT n ),
475 void* (*p__builtin_new) ( ThreadId tid, SizeT n ),
476 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ),
477 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ),
478 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ),
479 void (*pfree) ( ThreadId tid, void* p ),
[all …]

12345678910>>...21