Searched refs:tid (Results 1 - 25 of 535) 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),
92 ThreadState *VG_(get_ThreadState)(ThreadId tid) argument
94 vg_assert(tid >
114 is_running_thread(ThreadId tid) argument
125 is_exiting(ThreadId tid) argument
135 ThreadId tid; local
149 ThreadId tid; local
162 ThreadId tid; local
[all...]
H A 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, voi
[all...]
H A Dpub_core_debugger.h41 extern void VG_(start_debugger) ( ThreadId tid );
H A Dpub_core_coredump.h41 extern void VG_(make_coredump) ( ThreadId tid, const vki_siginfo_t *si,
H A Dpub_core_syswrap.h44 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid);
46 extern void VG_(client_syscall) ( ThreadId tid, UInt trc );
48 extern void VG_(post_syscall) ( ThreadId tid );
50 /* Clear this module's private state for thread 'tid' */
51 extern void VG_(clear_syscallInfo) ( Int tid );
55 ThreadId tid,
H A Dpub_core_signals.h58 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss,
63 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how,
68 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask );
75 extern void VG_(synth_fault) (ThreadId tid);
76 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr);
77 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr);
78 extern void VG_(synth_sigill) (ThreadId tid, Addr addr);
79 extern void VG_(synth_sigtrap) (ThreadId tid);
80 extern void VG_(synth_sigbus) (ThreadId tid);
81 extern void VG_(synth_sigfpe) (ThreadId tid, UIn
[all...]
H A Dpub_core_scheduler.h46 /* A thread exits. tid must currently be running. */
47 extern void VG_(exit_thread)(ThreadId tid);
49 /* If 'tid' is blocked in a syscall, send it SIGVGKILL so as to get it
52 extern void VG_(get_thread_out_of_syscall)(ThreadId tid);
54 /* Nuke all threads except tid. */
61 the CPU lock. By the time it returns, tid will be the running
63 extern void VG_(acquire_BigLock) ( ThreadId tid, const HChar* who );
78 extern void VG_(release_BigLock) ( ThreadId tid,
85 extern Bool VG_(owns_BigLock_LL) ( ThreadId tid );
92 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid );
[all...]
/external/linux-tools-perf/perf-3.12.0/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/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DRegisterContextKDP_arm.h35 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
38 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
41 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
44 DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg);
47 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
50 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
53 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
56 DoWriteDBG (lldb::tid_t tid, int flavor, const DBG &dbg);
H A DRegisterContextKDP_i386.h33 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
36 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
39 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
42 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
45 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
48 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
H A DRegisterContextKDP_x86_64.h34 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
37 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
40 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
43 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
46 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
49 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
/external/lldb/source/Plugins/Process/Utility/
H A DRegisterContextMach_arm.h32 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
35 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
38 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
41 DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg);
44 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
47 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
50 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
53 DoWriteDBG (lldb::tid_t tid, int flavor, const DBG &dbg);
H A DRegisterContextMach_arm.cpp36 RegisterContextMach_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) argument
39 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
43 RegisterContextMach_arm::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) argument
46 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
50 RegisterContextMach_arm::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) argument
53 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
57 RegisterContextMach_arm::DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg) argument
60 return ::thread_get_state(tid, flavor, (thread_state_t)&dbg, &count);
64 RegisterContextMach_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) argument
66 return ::thread_set_state(tid, flavo
70 DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) argument
76 DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) argument
82 DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) argument
[all...]
H A DRegisterContextMach_i386.cpp34 RegisterContextMach_i386::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
41 RegisterContextMach_i386::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) argument
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
48 RegisterContextMach_i386::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) argument
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
55 RegisterContextMach_i386::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount);
61 RegisterContextMach_i386::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) argument
63 return ::thread_set_state(tid, flavo
67 DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) argument
[all...]
H A DRegisterContextMach_x86_64.cpp34 RegisterContextMach_x86_64::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
41 RegisterContextMach_x86_64::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) argument
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
48 RegisterContextMach_x86_64::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) argument
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
55 RegisterContextMach_x86_64::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount);
61 RegisterContextMach_x86_64::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) argument
63 return ::thread_set_state(tid, flavo
67 DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) argument
[all...]
H A DRegisterContextMach_i386.h31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
34 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
37 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
43 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
46 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
H A DRegisterContextMach_x86_64.h31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
34 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
37 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
43 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
46 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
/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, ULong max_size) argument
/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_cancel_locked.c27 pthread_t tid; local
36 pthread_create(&tid, 0, &thread, 0);
43 pthread_cancel(tid);
46 pthread_join(tid, 0);
49 pthread_cancel(tid);
/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
341 thread_get_segment(const DrdThreadId tid) argument
[all...]
H A Ddrd_error.h102 DrdThreadId tid; // Thread ID of the running thread. member in struct:__anon32762
109 DrdThreadId tid; member in struct:__anon32763
116 DrdThreadId tid; member in struct:__anon32764
121 DrdThreadId tid; member in struct:__anon32765
128 DrdThreadId tid; member in struct:__anon32766
134 DrdThreadId tid; member in struct:__anon32767
141 DrdThreadId tid; member in struct:__anon32768
146 DrdThreadId tid; member in struct:__anon32769
153 DrdThreadId tid; member in struct:__anon32770
158 DrdThreadId tid; member in struct:__anon32771
166 DrdThreadId tid; member in struct:__anon32772
171 DrdThreadId tid; member in struct:__anon32773
176 DrdThreadId tid; member in struct:__anon32774
[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/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...]

Completed in 279 milliseconds

1234567891011>>