Searched refs:tid (Results 1 - 25 of 444) sorted by relevance

1234567891011>>

/external/valgrind/main/coregrind/
H A Dm_threadstate.c55 ThreadId tid; local
57 for (tid = 1; tid < VG_N_THREADS; tid++) {
59 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status,
60 sizeof(VG_(threads)[tid].status), ""));
62 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode,
63 sizeof(VG_(threads)[tid].os_state.exitcode),
81 ThreadState *VG_(get_ThreadState)(ThreadId tid) argument
83 vg_assert(tid >
103 is_running_thread(ThreadId tid) argument
114 is_exiting(ThreadId tid) argument
124 ThreadId tid; local
138 ThreadId tid; local
151 ThreadId tid; local
[all...]
H A 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, voi
[all...]
H A Dpub_core_debugger.h39 extern void VG_(start_debugger) ( ThreadId tid );
H A Dpub_core_coredump.h38 extern void VG_(make_coredump) ( ThreadId tid, const vki_siginfo_t *si,
H A Dpub_core_syswrap.h41 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid);
43 extern void VG_(client_syscall) ( ThreadId tid, UInt trc );
45 extern void VG_(post_syscall) ( ThreadId tid );
47 /* Clear this module's private state for thread 'tid' */
48 extern void VG_(clear_syscallInfo) ( Int tid );
52 ThreadId tid,
H A Dpub_core_scheduler.h43 /* A thread exits. tid must currently be running. */
44 extern void VG_(exit_thread)(ThreadId tid);
46 /* If 'tid' is blocked in a syscall, send it SIGVGKILL so as to get it
49 extern void VG_(get_thread_out_of_syscall)(ThreadId tid);
51 /* Nuke all threads except tid. */
58 the CPU lock. By the time it returns, tid will be the running
60 extern void VG_(acquire_BigLock) ( ThreadId tid, HChar* who );
75 extern void VG_(release_BigLock) ( ThreadId tid,
82 extern Bool VG_(owns_BigLock_LL) ( ThreadId tid );
89 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid );
[all...]
/external/linux-tools-perf/scripts/python/
H A Dfutex-contention.py21 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time
24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm,
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,
36 if thread_blocktime.has_key(tid):
37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
38 add_stats(lock_waits, (tid, thread_thislock[tid]), elapse
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_clock.h44 u64 get(unsigned tid) const {
45 DCHECK_LT(tid, kMaxTidInClock);
46 return clk_[tid];
49 void set(unsigned tid, u64 v) { argument
50 DCHECK_LT(tid, kMaxTid);
51 DCHECK_GE(v, clk_[tid]);
52 clk_[tid] = v;
53 if (nclk_ <= tid)
54 nclk_ = tid + 1;
57 void tick(unsigned tid) { argument
[all...]
/external/openssh/regress/
H A Dlocalcommand.sh4 tid="localcommand"
10 verbose "test $tid: proto $p localcommand"
13 fail "$tid proto $p"
H A Dportnum.sh4 tid="port number parsing"
8 verbose "$tid: invalid port $port"
10 fail "$tid accepted invalid port $port"
15 verbose "$tid: valid port $port"
19 fail "$tid rejected valid port $port"
H A Dhost-expand.sh3 tid="expand %h and %n"
14 verbose "test $tid: proto $p"
16 diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
/external/chromium_org/ppapi/native_client/src/untrusted/irt_stub/
H A Dthread_creator.c15 static int thread_create(uintptr_t *tid, argument
24 return pthread_create((pthread_t *) tid, NULL,
29 static int thread_join(uintptr_t tid) { argument
30 return pthread_join((pthread_t) tid, NULL);
/external/valgrind/main/coregrind/m_coredump/
H A Dcoredump-macho.c39 void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, UInt max_size) argument
/external/chromium_org/ppapi/native_client/tests/ppapi_browser/crash/
H A Dppapi_crash_off_main_thread.cc29 pthread_t tid; local
30 pthread_create(&tid, NULL /*attr*/, CrashOffMainThreadFunction, NULL);
31 pthread_detach(tid);
H A Dppapi_crash_ppapi_off_main_thread.cc28 pthread_t tid; local
30 pthread_create(&tid, NULL /*attr*/, CrashOffMainThreadFunction, NULL);
31 pthread_join(tid, &thread_result); // Wait for the thread to crash.
/external/valgrind/main/drd/tests/
H A Dannotate_hb_race.c31 pthread_t tid[2]; local
35 pthread_create(&tid[0], 0, thread_func, &result[0]);
36 pthread_create(&tid[1], 0, thread_func, &result[1]);
42 pthread_join(tid[0], NULL);
43 pthread_join(tid[1], NULL);
H A Dpth_barrier_race.c30 pthread_t tid; local
35 pthread_create(&tid, NULL, thread, NULL);
46 pthread_join(tid, NULL);
/external/valgrind/main/drd/
H A 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);
215 IsValidDrdThreadId(const DrdThreadId tid) argument
286 thread_set_stack_min(const DrdThreadId tid, const Addr stack_min) argument
[all...]
H A Ddrd_error.h102 DrdThreadId tid; // Thread ID of the running thread. member in struct:__anon27492
109 DrdThreadId tid; member in struct:__anon27493
116 DrdThreadId tid; member in struct:__anon27494
121 DrdThreadId tid; member in struct:__anon27495
128 DrdThreadId tid; member in struct:__anon27496
134 DrdThreadId tid; member in struct:__anon27497
141 DrdThreadId tid; member in struct:__anon27498
146 DrdThreadId tid; member in struct:__anon27499
153 DrdThreadId tid; member in struct:__anon27500
158 DrdThreadId tid; member in struct:__anon27501
166 DrdThreadId tid; member in struct:__anon27502
171 DrdThreadId tid; member in struct:__anon27503
176 DrdThreadId tid; member in struct:__anon27504
[all...]
H A Ddrd_thread.c49 static void thread_append_segment(const DrdThreadId tid, Segment* const sg);
50 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg);
52 const DrdThreadId tid);
53 static Bool thread_conflict_set_up_to_date(const DrdThreadId tid);
153 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) argument
157 if (tid == VG_INVALID_THREADID)
163 && DRD_(g_threadinfo)[i].vg_threadid == tid)
173 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) argument
177 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID);
187 DRD_(g_threadinfo)[i].vg_threadid = tid;
219 PtThreadIdToDrdThreadId(const PThreadId tid) argument
238 DrdThreadIdToVgThreadId(const DrdThreadId tid) argument
337 thread_delayed_delete(const DrdThreadId tid) argument
416 thread_set_stack_startup(const DrdThreadId tid, const Addr stack_startup) argument
427 thread_get_stack_min(const DrdThreadId tid) argument
438 thread_get_stack_min_min(const DrdThreadId tid) argument
446 thread_get_stack_max(const DrdThreadId tid) argument
454 thread_get_stack_size(const DrdThreadId tid) argument
461 thread_get_on_alt_stack(const DrdThreadId tid) argument
468 thread_set_on_alt_stack(const DrdThreadId tid, const Bool on_alt_stack) argument
489 thread_delete(const DrdThreadId tid, const Bool detached) argument
521 thread_finished(const DrdThreadId tid) argument
547 drd_thread_atfork_child(const DrdThreadId tid) argument
562 thread_pre_cancel(const DrdThreadId tid) argument
580 thread_set_pthreadid(const DrdThreadId tid, const PThreadId ptid) argument
592 thread_get_joinable(const DrdThreadId tid) argument
606 thread_set_joinable(const DrdThreadId tid, const Bool joinable) argument
617 thread_entering_pthread_create(const DrdThreadId tid) argument
628 thread_left_pthread_create(const DrdThreadId tid) argument
639 thread_get_name(const DrdThreadId tid) argument
648 thread_set_name(const DrdThreadId tid, const char* const name) argument
719 thread_enter_synchr(const DrdThreadId tid) argument
729 thread_leave_synchr(const DrdThreadId tid) argument
737 thread_get_synchr_nesting_count(const DrdThreadId tid) argument
745 thread_append_segment(const DrdThreadId tid, Segment* const sg) argument
773 thread_discard_segment(const DrdThreadId tid, Segment* const sg) argument
801 thread_get_vc(const DrdThreadId tid) argument
815 thread_get_latest_segment(Segment** sg, const DrdThreadId tid) argument
955 thread_consistent_segment_ordering(const DrdThreadId tid, Segment* const sg1, Segment* const sg2) argument
1047 thread_new_segment(const DrdThreadId tid) argument
1127 thread_combine_vc_sync(DrdThreadId tid, const Segment* sg) argument
1169 thread_new_segment_and_combine_vc(DrdThreadId tid, const Segment* sg) argument
1204 thread_set_record_loads(const DrdThreadId tid, const Bool enabled) argument
1214 thread_set_record_stores(const DrdThreadId tid, const Bool enabled) argument
1254 show_call_stack(const DrdThreadId tid, ExeContext* const callstack) argument
1272 thread_report_conflicting_segments_segment(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type, const Segment* const p) argument
1327 thread_report_conflicting_segments(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type) argument
1348 thread_conflict_set_up_to_date(const DrdThreadId tid) argument
1380 thread_compute_conflict_set(struct bitmap** conflict_set, const DrdThreadId tid) argument
1475 thread_update_conflict_set(const DrdThreadId tid, const VectorClock* const old_vc) argument
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dprocess_base.js82 for (var tid in this.threads)
83 this.threads[tid].shiftTimestampsForward(amount);
93 for (var tid in this.threads) {
94 var thread = this.threads[tid];
122 for (var tid in this.threads) {
123 var thread = this.threads[tid];
130 for (var tid in this.threads) {
131 this.threads[tid].updateBounds();
132 this.bounds.addRange(this.threads[tid].bounds);
143 for (var tid i
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cc19 ThreadContextBase::ThreadContextBase(u32 tid) argument
20 : tid(tid), unique_id(0), os_id(0), user_id(0), status(ThreadStatusInvalid),
73 // Parent tid makes no sense for the main thread.
74 if (tid != 0)
123 u32 tid = kUnknownTid; local
126 tid = tctx->tid;
128 // Allocate new thread context and tid.
129 tid
194 SetThreadName(u32 tid, const char *name) argument
203 DetachThread(u32 tid) argument
220 JoinThread(u32 tid, void *arg) argument
233 FinishThread(u32 tid) argument
250 StartThread(u32 tid, uptr os_id, void *arg) argument
[all...]
/external/valgrind/main/exp-sgcheck/
H A Dh_main.h59 void* h_replace_malloc ( ThreadId tid, SizeT n );
60 void* h_replace___builtin_new ( ThreadId tid, SizeT n );
61 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n );
62 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n );
63 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 );
64 void h_replace_free ( ThreadId tid, void* p );
65 void h_replace___builtin_delete ( ThreadId tid, void* p );
66 void h_replace___builtin_vec_delete ( ThreadId tid, void* p );
67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size );
68 SizeT h_replace_malloc_usable_size ( ThreadId tid, voi
[all...]
/external/valgrind/main/include/
H A Dpub_tool_machine.h99 Addr VG_(get_IP) ( ThreadId tid );
100 Addr VG_(get_SP) ( ThreadId tid );
110 VG_(get_shadow_regs_area) ( ThreadId tid,
114 VG_(set_shadow_regs_area) ( ThreadId tid,
120 void VG_(set_syscall_return_shadows) ( ThreadId tid,
130 extern void VG_(apply_to_GP_regs)(void (*f)(ThreadId tid,
134 // Returns False at the end. 'tid' is the iterator and you can only
136 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid );
137 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid,
142 extern Addr VG_(thread_get_stack_max) ( ThreadId tid );
[all...]
/external/oprofile/daemon/liblegacy/
H A Dopd_proc.h34 pid_t tid; member in struct:opd_proc
86 * @param tid tid for this process
91 void opd_handle_exec(pid_t tid, pid_t tgid);
107 * @param tid tid for this process
110 * A process with pid tid is searched on the process list,
114 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid);
118 * @param tid tid fo
[all...]

Completed in 489 milliseconds

1234567891011>>