Home
last modified time | relevance | path

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

12345678910>>...35

/external/valgrind/coregrind/
Dm_threadstate.c58 ThreadId tid; in VG_() local
64 for (tid = 1; tid < VG_N_THREADS; tid++) { in VG_()
66 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, in VG_()
67 sizeof(VG_(threads)[tid].status), "")); in VG_()
69 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, in VG_()
70 sizeof(VG_(threads)[tid].os_state.exitcode), in VG_()
100 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_()
102 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
103 vg_assert(VG_(threads)[tid].tid == tid); in VG_()
104 return &VG_(threads)[tid]; in VG_()
[all …]
Dm_machine.c49 Addr VG_(get_IP) ( ThreadId tid ) { in VG_()
50 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_()
52 Addr VG_(get_SP) ( ThreadId tid ) { in VG_()
53 return STACK_PTR( VG_(threads)[tid].arch ); in VG_()
55 Addr VG_(get_FP) ( ThreadId tid ) { in VG_()
56 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_()
59 void VG_(set_IP) ( ThreadId tid, Addr ip ) { in VG_()
60 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_()
62 void VG_(set_SP) ( ThreadId tid, Addr sp ) { in VG_()
63 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_()
[all …]
Dm_signals.c711 static Bool is_sig_ign(vki_siginfo_t *info, ThreadId tid) in is_sig_ign() argument
718 return !VG_(gdbserver_report_signal) (info, tid) in is_sig_ign()
1100 static Bool on_sig_stack ( ThreadId tid, Addr m_SP ) in on_sig_stack() argument
1102 ThreadState *tst = VG_(get_ThreadState)(tid); in on_sig_stack()
1107 static Int sas_ss_flags ( ThreadId tid, Addr m_SP ) in sas_ss_flags() argument
1109 ThreadState *tst = VG_(get_ThreadState)(tid); in sas_ss_flags()
1113 : on_sig_stack(tid, m_SP) ? VKI_SS_ONSTACK : 0); in sas_ss_flags()
1117 SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, vki_stack_t* oss ) in VG_()
1121 vg_assert(VG_(is_valid_tid)(tid)); in VG_()
1122 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);
164 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) in DRD_()
168 if (tid == VG_INVALID_THREADID) in DRD_()
174 && DRD_(g_threadinfo)[i].vg_threadid == tid) in DRD_()
184 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) in DRD_()
188 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); in DRD_()
198 DRD_(g_threadinfo)[i].vg_threadid = tid; in DRD_()
[all …]
Ddrd_thread.h146 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid);
147 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid);
148 DrdThreadId DRD_(PtThreadIdToDrdThreadId)(const PThreadId tid);
149 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid);
154 void DRD_(thread_delete)(const DrdThreadId tid, Bool detached);
155 void DRD_(thread_finished)(const DrdThreadId tid);
156 void DRD_(drd_thread_atfork_child)(const DrdThreadId tid);
157 void DRD_(thread_pre_cancel)(const DrdThreadId tid);
158 void DRD_(thread_set_stack_startup)(const DrdThreadId tid,
160 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/chromium-trace/catapult/systrace/systrace/test_data/
Dprofile-chrome_systrace_perf_chrome_data1tid": 13956, "ph": "X", "dur": 463}, {"tdur": 412, "name": "TaskQueueManager::DoWork", "tts": 6016…
/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[%u]: %s\n", tid, what ); in print_sched_event()
265 void VG_(acquire_BigLock)(ThreadId tid, const HChar* who) in VG_()
273 print_sched_event(tid, buf); in VG_()
282 tst = VG_(get_ThreadState)(tid); in VG_()
289 VG_(printf)("tid %u found %u running\n", tid, VG_(running_tid)); in VG_()
291 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/valgrind/coregrind/m_syswrap/
Dsyswrap-amd64-solaris.c86 void ML_(setup_start_thread_context)(ThreadId tid, vki_ucontext_t *uc) in ML_()
88 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_()
110 void ML_(save_machine_context)(ThreadId tid, vki_ucontext_t *uc, in ML_()
113 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_()
121 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RIP, in ML_()
124 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RAX, in ML_()
127 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RBX, in ML_()
130 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RCX, in ML_()
133 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RDX, in ML_()
136 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RBP, in ML_()
[all …]
Dsyswrap-x86-solaris.c92 void ML_(setup_start_thread_context)(ThreadId tid, vki_ucontext_t *uc) in ML_()
94 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_()
134 void ML_(save_machine_context)(ThreadId tid, vki_ucontext_t *uc, in ML_()
137 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_()
145 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EIP, in ML_()
148 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EAX, in ML_()
151 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EBX, in ML_()
154 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_ECX, in ML_()
157 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EDX, in ML_()
160 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EBP, in ML_()
[all …]
/external/openssh/regress/
Dsftp-cmds.sh8 tid="sftp commands"
30 verbose "$tid: lls"
34 verbose "$tid: lls w/path"
38 verbose "$tid: ls"
43 verbose "$tid: shell"
48 verbose "$tid: pwd"
53 verbose "$tid: lpwd"
58 verbose "$tid: quit"
63 verbose "$tid: help"
69 verbose "$tid: get"
[all …]
/external/icu/icu4c/source/data/zone/
Dda.txt1279 lg{"Acre-tid"}
1283 ls{"Afghansk tid"}
1286 ls{"Centralafrikansk tid"}
1289 ls{"Østafrikansk tid"}
1292 ls{"Sydafrikansk tid"}
1296 lg{"Vestafrikansk tid"}
1301 lg{"Alaska-tid"}
1306 lg{"Almaty-tid"}
1311 lg{"Amazonas-tid"}
1316 lg{"Central-tid"}
[all …]
/external/valgrind/coregrind/m_sigframe/
Dsigframe-solaris.c57 void VG_(sigframe_create)(ThreadId tid, Bool on_altstack, in VG_()
63 ThreadState *tst = VG_(get_ThreadState)(tid); in VG_()
85 VG_(save_context)(tid, &frame->ucontext, Vg_CoreSignal); in VG_()
132 frame->siginfo.si_addr = (void*)VG_(get_IP)(tid); in VG_()
135 frame->siginfo.si_faddr = (void*)VG_(get_IP)(tid); in VG_()
140 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, (Addr)&frame->siginfo, in VG_()
153 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, in VG_()
158 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, in VG_()
175 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, (Addr)&frame->a1_signo, in VG_()
179 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, (Addr)&frame->a3_ucontext, in VG_()
[all …]
/external/lisa/libs/utils/
Dreport.py113 for tid in sorted(_results.keys()):
116 for base_idx in sorted(_results[tid].keys()):
122 for test_idx in sorted(_results[tid].keys()):
128 self.__rtapp_reference(tid, base_idx)
132 self.__rtapp_compare(tid, base_idx, test_idx, formats)
136 def __rtapp_reference(self, tid, base_idx): argument
140 tid, base_idx)
141 res_line = '{0:12s}: {1:22s} | '.format(tid, base_idx)
145 res_base = _results[tid][base_idx]['energy'][cpus]['avg']
151 if 'performance' not in _results[tid][base_idx].keys():
[all …]
/external/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c138 int policy, mypri = 0, tid; in busy_thread() local
139 tid = (intptr_t) (((struct thread *)arg)->arg); in busy_thread()
149 printf("Busy Thread %d(%d): Running...\n", tid, mypri); in busy_thread()
157 printf("Busy Thread %d(%d): Exiting\n", tid, mypri); in busy_thread()
164 int policy, rc, mypri = 0, tid, times = 0; in worker_thread() local
165 tid = (intptr_t) (((struct thread *)arg)->arg); in worker_thread()
179 rc = pthread_mutex_lock(&mutex[tid]); in worker_thread()
180 if (tid == 0) in worker_thread()
182 rc = pthread_cond_wait(&cond[tid], &mutex[tid]); in worker_thread()
183 rc = pthread_mutex_unlock(&mutex[tid]); in worker_thread()
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dcommute-compares.ll12 %tid = call i32 @llvm.amdgcn.workitem.id.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.amdgcn.workitem.id.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.amdgcn.workitem.id.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.amdgcn.workitem.id.x() #0
[all …]
Dmad-sub.ll13 %tid = tail call i32 @llvm.amdgcn.workitem.id.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.amdgcn.workitem.id.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/valgrind/memcheck/
Dmc_malloc_wrappers.c82 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB,
194 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB, in create_MC_Chunk() argument
207 MC_(set_allocated_at) (tid, mc); in create_MC_Chunk()
299 void MC_(set_allocated_at) (ThreadId tid, MC_Chunk* mc) in MC_()
309 mc->where[0] = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ ); in MC_()
314 void MC_(set_freed_at) (ThreadId tid, MC_Chunk* mc) in MC_()
336 ec_free = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ ); in MC_()
360 void* MC_(new_block) ( ThreadId tid, in MC_()
388 mc = create_MC_Chunk (tid, p, szB, kind); in MC_()
402 void* MC_(malloc) ( ThreadId tid, SizeT n ) in MC_()
[all …]
/external/elfutils/libdwfl/
Dlinux-pid-attach.c72 __libdwfl_ptrace_attach (pid_t tid, bool *tid_was_stoppedp) in __libdwfl_ptrace_attach() argument
74 if (ptrace (PTRACE_ATTACH, tid, NULL, NULL) != 0) in __libdwfl_ptrace_attach()
79 *tid_was_stoppedp = linux_proc_pid_is_stopped (tid); in __libdwfl_ptrace_attach()
88 syscall (__NR_tkill, tid, SIGSTOP); in __libdwfl_ptrace_attach()
89 ptrace (PTRACE_CONT, tid, NULL, NULL); in __libdwfl_ptrace_attach()
94 if (waitpid (tid, &status, __WALL) != tid || !WIFSTOPPED (status)) in __libdwfl_ptrace_attach()
97 ptrace (PTRACE_DETACH, tid, NULL, NULL); in __libdwfl_ptrace_attach()
104 if (ptrace (PTRACE_CONT, tid, NULL, in __libdwfl_ptrace_attach()
108 ptrace (PTRACE_DETACH, tid, NULL, NULL); in __libdwfl_ptrace_attach()
121 pid_t tid = pid_arg->tid_attached; in pid_memory_read() local
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc252 unsigned tid; member
254 explicit SimpleThreadClock(unsigned tid) { in SimpleThreadClock()
255 this->tid = tid; in SimpleThreadClock()
256 size = tid + 1; in SimpleThreadClock()
262 clock[tid]++; in tick()
328 unsigned tid = rand() % kThreads; in ClockFuzzer() local
330 thr0[tid]->tick(); in ClockFuzzer()
331 thr1[tid]->tick(); in ClockFuzzer()
336 printf("acquire thr%d <- clk%d\n", tid, cid); in ClockFuzzer()
337 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer()
[all …]
/external/valgrind/include/
Dpub_tool_tooliface.h69 ThreadId tid; /* tid requesting translation */ member
425 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret)
440 void (* pre_syscall)(ThreadId tid, UInt syscallno,
442 void (*post_syscall)(ThreadId tid, UInt syscallno,
477 void* (*pmalloc) ( ThreadId tid, SizeT n ),
478 void* (*p__builtin_new) ( ThreadId tid, SizeT n ),
479 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ),
480 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ),
481 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ),
482 void (*pfree) ( ThreadId tid, void* p ),
[all …]

12345678910>>...35