Home
last modified time | relevance | path

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

12345678910>>...16

/external/valgrind/main/coregrind/
Dm_threadstate.c62 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_()
64 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
65 vg_assert(VG_(threads)[tid].tid == tid); in VG_()
66 return &VG_(threads)[tid]; in VG_()
69 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_()
72 if (tid == 0) return False; in VG_()
73 if (tid >= VG_N_THREADS) return False; in VG_()
74 if (VG_(threads)[tid].status == VgTs_Empty) return False; in VG_()
84 Bool VG_(is_running_thread)(ThreadId tid) in VG_()
86 ThreadState *tst = VG_(get_ThreadState)(tid); in VG_()
[all …]
Dm_signals.c598 static Bool is_sig_ign(Int sigNo, ThreadId tid) in is_sig_ign() argument
603 || !VG_(gdbserver_report_signal) (sigNo, tid); in is_sig_ign()
904 static Bool on_sig_stack ( ThreadId tid, Addr m_SP ) in on_sig_stack() argument
906 ThreadState *tst = VG_(get_ThreadState)(tid); in on_sig_stack()
911 static Int sas_ss_flags ( ThreadId tid, Addr m_SP ) in sas_ss_flags() argument
913 ThreadState *tst = VG_(get_ThreadState)(tid); in sas_ss_flags()
917 : on_sig_stack(tid, m_SP) ? VKI_SS_ONSTACK : 0); in sas_ss_flags()
921 SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, vki_stack_t* oss ) in VG_()
925 vg_assert(VG_(is_valid_tid)(tid)); in VG_()
926 m_SP = VG_(get_SP)(tid); in VG_()
[all …]
Dpub_core_replacemalloc.h43 void* (*tl_malloc) (ThreadId tid, SizeT n);
44 void* (*tl___builtin_new) (ThreadId tid, SizeT n);
45 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n);
46 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n);
47 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n);
48 void (*tl_free) (ThreadId tid, void* p);
49 void (*tl___builtin_delete) (ThreadId tid, void* p);
50 void (*tl___builtin_vec_delete)(ThreadId tid, void* p);
51 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size);
52 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload);
[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 …]
/external/valgrind/main/drd/
Ddrd_thread.c50 static void thread_append_segment(const DrdThreadId tid, Segment* const sg);
51 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg);
53 const DrdThreadId tid);
54 static Bool thread_conflict_set_up_to_date(const DrdThreadId tid);
150 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) in DRD_()
154 if (tid == VG_INVALID_THREADID) in DRD_()
160 && DRD_(g_threadinfo)[i].vg_threadid == tid) in DRD_()
170 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) in DRD_()
174 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); in DRD_()
184 DRD_(g_threadinfo)[i].vg_threadid = tid; in DRD_()
[all …]
Ddrd_thread.h134 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid);
135 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid);
136 DrdThreadId DRD_(PtThreadIdToDrdThreadId)(const PThreadId tid);
137 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid);
142 void DRD_(thread_delete)(const DrdThreadId tid, Bool detached);
143 void DRD_(thread_finished)(const DrdThreadId tid);
144 void DRD_(drd_thread_atfork_child)(const DrdThreadId tid);
145 void DRD_(thread_pre_cancel)(const DrdThreadId tid);
146 void DRD_(thread_set_stack_startup)(const DrdThreadId tid,
148 Addr DRD_(thread_get_stack_min)(const DrdThreadId tid);
[all …]
Ddrd_malloc_wrappers.c71 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() argument
81 DRD_(malloclike_block)(tid, (Addr)p, size); in new_block()
90 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_()
106 mc->where = VG_(record_ExeContext)(tid, 0); in DRD_()
110 static void handle_free(ThreadId tid, void* p) in handle_free() argument
115 success = DRD_(freelike_block)(tid, (Addr)p, True); in handle_free()
123 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_()
147 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() argument
149 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd_malloc()
153 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign() argument
[all …]
Ddrd_error.h103 DrdThreadId tid; // Thread ID of the running thread. member
110 DrdThreadId tid; member
117 DrdThreadId tid; member
122 DrdThreadId tid; member
129 DrdThreadId tid; member
135 DrdThreadId tid; member
142 DrdThreadId tid; member
147 DrdThreadId tid; member
154 DrdThreadId tid; member
159 DrdThreadId tid; member
[all …]
/external/valgrind/main/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 );
163 void print_sched_event ( ThreadId tid, Char* what ) in print_sched_event() argument
165 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); in print_sched_event()
234 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) in VG_()
243 print_sched_event(tid, buf); in VG_()
252 tst = VG_(get_ThreadState)(tid); in VG_()
259 VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid)); in VG_()
261 VG_(running_tid) = tid; in VG_()
[all …]
/external/icu4c/data/zone/
Dda.txt134 ls{"Acre-tid"}
137 ls{"Afghansk tid"}
146 lg{"Sydafrikansk tid"}
155 ls{"Aktyubinsk-tid"}
159 lg{"Alaska-tid"}
164 lg{"Alaska-Hawaii-tid"}
169 ls{"Almaty-tid"}
173 lg{"Amazonas-tid"}
178 lg{"Central-tid"}
183 lg{"Eastern-tid"}
[all …]
Dnb.txt575 ls{"Acre-tid"}
578 ls{"sentralafrikansk tid"}
581 ls{"østafrikansk tid"}
584 lg{"sørafrikansk tid"}
589 ls{"vestafrikansk tid"}
593 lg{"Alaskisk tid"}
599 ls{"Amazonas-tid"}
603 lg{"Nordamerikansk (Midtvesten) tid"}
623 lg{"Russisk (Anadyr) tid"}
624 ls{"Russisk (Anadyr) tid"}
[all …]
Dsv.txt344 lg{"västbrasiliansk tid"}
349 lg{"afghansk tid"}
354 lg{"centralafrikansk tid"}
355 ls{"centralafrikansk tid"}
359 lg{"östafrikansk tid"}
364 lg{"västsaharisk tid"}
369 lg{"sydafrikansk tid"}
374 lg{"västafrikansk tid"}
389 lg{"hawaiiansk tid"}
404 lg{"centralnordamerikansk tid"}
[all …]
/external/valgrind/tsan/
Dts_pin.cc69 static void DumpEvent(CONTEXT *ctx, EventType type, int32_t tid, uintptr_t pc,
132 typedef void (*callback_t)(THREADID tid, InstrumentedCallFrame &frame,
203 THREADID tid; member
240 static void ReportAccesRange(THREADID tid, uintptr_t pc, EventType type, uintptr_t x, size_t size) { in ReportAccesRange() argument
241 if (size && !g_pin_threads[tid].ignore_accesses) { in ReportAccesRange()
245 DumpEvent(0, type, tid, pc, a, cur_size); in ReportAccesRange()
250 #define REPORT_READ_RANGE(x, size) ReportAccesRange(tid, pc, READ, (uintptr_t)x, size)
251 #define REPORT_WRITE_RANGE(x, size) ReportAccesRange(tid, pc, WRITE, (uintptr_t)x, size)
253 #define EXTRA_REPLACE_PARAMS THREADID tid, uintptr_t pc,
254 #define EXTRA_REPLACE_ARGS tid, pc,
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.h44 u64 get(unsigned tid) const { in get()
45 DCHECK_LT(tid, kMaxTidInClock); in get()
46 return clk_[tid]; in get()
49 void set(unsigned tid, u64 v) { in set()
50 DCHECK_LT(tid, kMaxTid); in set()
51 DCHECK_GE(v, clk_[tid]); in set()
52 clk_[tid] = v; in set()
53 if (nclk_ <= tid) in set()
54 nclk_ = tid + 1; in set()
57 void tick(unsigned tid) { in tick()
[all …]
Dtsan_rtl_thread.cc60 DPrintf("#%d: ThreadDead uid=%zu\n", thr->tid, tctx->user_id); in ThreadDead()
80 int tid = -1; in ThreadCreate() local
101 tid = tctx->tid; in ThreadCreate()
105 tid = ctx->thread_seq++; in ThreadCreate()
107 tctx = new(mem) ThreadContext(tid); in ThreadCreate()
108 ctx->threads[tid] = tctx; in ThreadCreate()
111 CHECK_GE(tid, 0); in ThreadCreate()
112 CHECK_LT(tid, kMaxTid); in ThreadCreate()
113 DPrintf("#%d: ThreadCreate tid=%d uid=%zu\n", thr->tid, tid, uid); in ThreadCreate()
126 if (tid) { in ThreadCreate()
[all …]
/external/linux-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/openssh/regress/
Dsftp-cmds.sh8 tid="sftp commands"
46 verbose "$tid: lls"
50 verbose "$tid: lls w/path"
54 verbose "$tid: ls"
59 verbose "$tid: shell"
64 verbose "$tid: pwd"
69 verbose "$tid: lpwd"
74 verbose "$tid: quit"
79 verbose "$tid: help"
85 verbose "$tid: get"
[all …]
/external/valgrind/main/coregrind/m_sigframe/
Dsigframe-amd64-darwin.c91 ThreadId tid = tst->tid; in extend() local
99 addr - VG_STACK_REDZONE_SZB, size, tid ); in extend()
109 void VG_(sigframe_create) ( ThreadId tid, in VG_()
128 tst = VG_(get_ThreadState)(tid); in VG_()
159 VG_(set_SP)(tid, rsp); in VG_()
160 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(ULong)); in VG_()
163 VG_(set_IP)(tid, (ULong)handler); in VG_()
164 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(ULong)); in VG_()
167 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_()
176 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_()
[all …]
Dsigframe-x86-darwin.c94 ThreadId tid = tst->tid; in extend() local
102 addr - VG_STACK_REDZONE_SZB, size, tid ); in extend()
112 void VG_(sigframe_create) ( ThreadId tid, in VG_()
131 tst = VG_(get_ThreadState)(tid); in VG_()
162 VG_(set_SP)(tid, esp); in VG_()
163 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(UInt)); in VG_()
166 VG_(set_IP)(tid, (UInt)handler); in VG_()
167 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(UInt)); in VG_()
170 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_()
176 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_()
[all …]
Dsigframe-ppc32-linux.c124 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \
131 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \
143 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in stack_mcontext()
165 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in stack_mcontext()
179 VG_TRACK(pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in stack_mcontext()
183 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in stack_mcontext()
511 ThreadId tid = tst->tid; in extend() local
525 addr, tid); in extend()
533 VG_(synth_fault_mapping)(tid, addr); in extend()
543 size + VG_STACK_REDZONE_SZB, tid ); in extend()
[all …]
/external/oprofile/daemon/liblegacy/
Dopd_image.c54 image->tid, image->tgid, (int)image->ref_count); in opd_delete_image()
60 image->tid, image->tgid, image->ref_count); in opd_delete_image()
103 static size_t opd_hash_image(char const * name, pid_t tid, pid_t tgid) in opd_hash_image() argument
107 hash += tid + tgid; in opd_hash_image()
130 pid_t tid, pid_t tgid) in opd_new_image() argument
136 "tgid %d\n", name, app_name, kernel, tid, tgid); in opd_new_image()
143 image->tid = tid; in opd_new_image()
157 hash_image = opd_hash_image(name, tid, tgid); in opd_new_image()
178 pid_t tid, pid_t tgid) in is_same_image() argument
186 if (image->tid != tid || image->tgid != tgid) in is_same_image()
[all …]
/external/valgrind/main/include/
Dpub_tool_tooliface.h69 ThreadId tid; /* tid requesting translation */ member
410 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret)
425 void (* pre_syscall)(ThreadId tid, UInt syscallno,
427 void (*post_syscall)(ThreadId tid, UInt syscallno,
448 void* (*pmalloc) ( ThreadId tid, SizeT n ),
449 void* (*p__builtin_new) ( ThreadId tid, SizeT n ),
450 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ),
451 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ),
452 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ),
453 void (*pfree) ( ThreadId tid, void* p ),
[all …]
/external/chromium-trace/trace-viewer/src/
Dtimeline_thread.js56 function TimelineThread(parent, tid) { argument
61 this.tid = tid;
72 TimelineThread.getPTIDFromPidAndTid = function(pid, tid) { argument
75 if (!ptidMap[pid][tid])
76 ptidMap[pid][tid] = pid + ':' + tid;
77 return ptidMap[pid][tid];
94 return TimelineThread.getPTIDFromPidAndTid(this.tid, this.pid);
164 var tname = this.name || this.tid;
173 ', tid: ' + this.tid +
189 return x.tid - y.tid;
[all …]
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-s390x-linux.c460 if (!ML_(valid_client_addr)(ARG2, 4*sizeof(Addr), tid, NULL)) { in PRE()
464 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 ); in PRE()
470 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE()
480 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE()
484 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 ); in PRE()
490 if (!ML_(valid_client_addr)(ARG2, 2*sizeof(Addr), tid, NULL)) { in PRE()
499 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE()
503 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); in PRE()
512 if (!ML_(valid_client_addr)(ARG2, 6*sizeof(Addr), tid, NULL)) { in PRE()
516 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2, in PRE()
[all …]
/external/compiler-rt/lib/asan/
Dasan_thread_registry.cc47 u32 tid = n_threads_; in RegisterThread() local
53 summary->set_tid(tid); in RegisterThread()
54 thread_summaries_[tid] = summary; in RegisterThread()
79 if (thread && thread->tid() == 0) { in GetCurrent()
134 AsanThreadSummary *AsanThreadRegistry::FindByTid(u32 tid) { in FindByTid() argument
135 CHECK(tid < n_threads_); in FindByTid()
136 CHECK(thread_summaries_[tid]); in FindByTid()
137 return thread_summaries_[tid]; in FindByTid()
142 for (u32 tid = 0; tid < n_threads_; tid++) { in FindThreadByStackAddress() local
143 AsanThread *t = thread_summaries_[tid]->thread(); in FindThreadByStackAddress()
[all …]

12345678910>>...16