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

1234567891011>>

/external/valgrind/main/coregrind/
H A Dm_threadstate.c62 ThreadState *VG_(get_ThreadState)(ThreadId tid) argument
64 vg_assert(tid >= 0 && tid < VG_N_THREADS);
65 vg_assert(VG_(threads)[tid].tid == tid);
66 return &VG_(threads)[tid];
69 Bool VG_(is_valid_tid) ( ThreadId tid )
71 /* tid is unsigned, hence no < 0 test. */
72 if (tid
84 is_running_thread(ThreadId tid) argument
95 is_exiting(ThreadId tid) argument
105 ThreadId tid; local
119 ThreadId tid; local
132 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_signals.h54 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss,
59 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how,
64 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask );
71 extern void VG_(synth_fault) (ThreadId tid);
72 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr);
73 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr);
74 extern void VG_(synth_sigill) (ThreadId tid, Addr addr);
75 extern void VG_(synth_sigtrap) (ThreadId tid);
76 extern void VG_(synth_sigbus) (ThreadId tid);
/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/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/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/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/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);
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);
/external/chromium-trace/trace-viewer/src/
H A Dtimeline_process.js43 for (var tid in this.threads)
44 this.threads[tid].shiftTimestampsForward(amount);
50 * @return {TimlineThread} The thread identified by tid on this process,
53 getOrCreateThread: function(tid) {
54 if (!this.threads[tid])
55 this.threads[tid] = new TimelineThread(this, tid);
56 return this.threads[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
[all...]
H A Ddrd_error.h103 DrdThreadId tid; // Thread ID of the running thread. member in struct:__anon13855
110 DrdThreadId tid; member in struct:__anon13856
117 DrdThreadId tid; member in struct:__anon13857
122 DrdThreadId tid; member in struct:__anon13858
129 DrdThreadId tid; member in struct:__anon13859
135 DrdThreadId tid; member in struct:__anon13860
142 DrdThreadId tid; member in struct:__anon13861
147 DrdThreadId tid; member in struct:__anon13862
154 DrdThreadId tid; member in struct:__anon13863
159 DrdThreadId tid; member in struct:__anon13864
167 DrdThreadId tid; member in struct:__anon13865
172 DrdThreadId tid; member in struct:__anon13866
177 DrdThreadId tid; member in struct:__anon13867
[all...]
H A 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) argument
154 if (tid == VG_INVALID_THREADID)
160 && DRD_(g_threadinfo)[i].vg_threadid == tid)
170 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) argument
174 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID);
184 DRD_(g_threadinfo)[i].vg_threadid = tid;
216 PtThreadIdToDrdThreadId(const PThreadId tid) argument
235 DrdThreadIdToVgThreadId(const DrdThreadId tid) argument
334 thread_delayed_delete(const DrdThreadId tid) argument
413 thread_set_stack_startup(const DrdThreadId tid, const Addr stack_startup) argument
424 thread_get_stack_min(const DrdThreadId tid) argument
435 thread_get_stack_min_min(const DrdThreadId tid) argument
443 thread_get_stack_max(const DrdThreadId tid) argument
451 thread_get_stack_size(const DrdThreadId tid) argument
458 thread_get_on_alt_stack(const DrdThreadId tid) argument
465 thread_set_on_alt_stack(const DrdThreadId tid, const Bool on_alt_stack) argument
486 thread_delete(const DrdThreadId tid, const Bool detached) argument
519 thread_finished(const DrdThreadId tid) argument
545 drd_thread_atfork_child(const DrdThreadId tid) argument
560 thread_pre_cancel(const DrdThreadId tid) argument
578 thread_set_pthreadid(const DrdThreadId tid, const PThreadId ptid) argument
590 thread_get_joinable(const DrdThreadId tid) argument
598 thread_set_joinable(const DrdThreadId tid, const Bool joinable) argument
609 thread_entering_pthread_create(const DrdThreadId tid) argument
620 thread_left_pthread_create(const DrdThreadId tid) argument
631 thread_get_name(const DrdThreadId tid) argument
640 thread_set_name(const DrdThreadId tid, const char* const name) argument
711 thread_enter_synchr(const DrdThreadId tid) argument
721 thread_leave_synchr(const DrdThreadId tid) argument
729 thread_get_synchr_nesting_count(const DrdThreadId tid) argument
737 thread_append_segment(const DrdThreadId tid, Segment* const sg) argument
764 thread_discard_segment(const DrdThreadId tid, Segment* const sg) argument
792 thread_get_vc(const DrdThreadId tid) argument
803 thread_get_latest_segment(Segment** sg, const DrdThreadId tid) argument
941 thread_consistent_segment_ordering(const DrdThreadId tid, Segment* const sg1, Segment* const sg2) argument
1037 thread_new_segment(const DrdThreadId tid) argument
1118 thread_combine_vc_sync(DrdThreadId tid, const Segment* sg) argument
1163 thread_new_segment_and_combine_vc(DrdThreadId tid, const Segment* sg) argument
1200 thread_set_record_loads(const DrdThreadId tid, const Bool enabled) argument
1210 thread_set_record_stores(const DrdThreadId tid, const Bool enabled) argument
1252 show_call_stack(const DrdThreadId tid, ExeContext* const callstack) argument
1270 thread_report_conflicting_segments_segment(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type, const Segment* const p) argument
1326 thread_report_conflicting_segments(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type) argument
1350 thread_conflict_set_up_to_date(const DrdThreadId tid) argument
1382 thread_compute_conflict_set(struct bitmap** conflict_set, const DrdThreadId tid) argument
1490 thread_update_conflict_set(const DrdThreadId tid, const VectorClock* const old_vc) 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/coregrind/m_scheduler/
H A 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 ) argument
165 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what );
234 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) argument
243 print_sched_event(tid, buf);
252 tst = VG_(get_ThreadState)(tid);
259 VG_(printf)("tid %d found %d running\n", tid, VG
282 release_BigLock(ThreadId tid, ThreadStatus sleepstate, HChar* who) argument
325 exit_thread(ThreadId tid) argument
346 get_thread_out_of_syscall(ThreadId tid) argument
393 ThreadId tid = VG_(running_tid); local
506 ThreadId tid; local
922 handle_syscall(ThreadId tid, UInt trc) argument
1357 ThreadId tid; local
1425 os_client_request(ThreadId tid, UWord *args) argument
1868 ThreadId tid; local
[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...]
/external/valgrind/main/coregrind/m_syswrap/
H A Dpriv_syswrap-main.h41 void ML_(wqthread_continue_NORETURN)(ThreadId tid);
/external/valgrind/main/include/
H A Dpub_tool_machine.h93 Addr VG_(get_IP) ( ThreadId tid );
94 Addr VG_(get_SP) ( ThreadId tid );
104 VG_(get_shadow_regs_area) ( ThreadId tid,
108 VG_(set_shadow_regs_area) ( ThreadId tid,
114 void VG_(set_syscall_return_shadows) ( ThreadId tid,
127 // Returns False at the end. 'tid' is the iterator and you can only
129 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid );
130 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid,
135 extern Addr VG_(thread_get_stack_max) ( ThreadId tid );
138 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid );
[all...]
/external/linux-tools-perf/util/
H A Dthread_map.h12 struct thread_map *thread_map__new_by_tid(pid_t tid);
13 struct thread_map *thread_map__new(pid_t pid, pid_t tid);

Completed in 713 milliseconds

1234567891011>>