/external/valgrind/main/drd/tests/ |
H A D | thread_name.c | 49 pthread_t tid[NUM_THREADS]; local 56 pthread_create(&tid[i], 0, thread_func, (void*)(ptrdiff_t)i); 59 pthread_join(tid[i], 0);
|
H A D | annotate_barrier_xml.stderr.exp | 36 <tid>...</tid> 69 <tid>...</tid> 102 <tid>...</tid> 135 <tid>...</tid> 168 <tid>...</tid> [all...] |
H A D | thread_name_xml.stderr.exp | 36 <tid>...</tid> 72 <tid>...</tid> 108 <tid>...</tid> 144 <tid>...</tid> 180 <tid>...</tid> [all...] |
/external/oprofile/daemon/liblegacy/ |
H A D | opd_proc.c | 58 * @param tid pid value to hash 61 inline static uint proc_hash(pid_t tid) argument 64 return ((tid >> 4) ^ (tid)) % OPD_MAX_PROC_HASH; 68 struct opd_proc * opd_new_proc(pid_t tid, pid_t tgid) argument 76 proc->tid = tid; 80 list_add(&proc->next, &opd_procs[proc_hash(tid)]); 85 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid) argument 88 uint hash = proc_hash(tid); 286 opd_handle_exec(pid_t tid, pid_t tgid) argument [all...] |
H A D | opd_parse_proc.c | 75 image = opd_get_image(cp, image_name, 0, proc->tid, proc->tgid); 101 snprintf(mapsfile + 6, 6, "%hu", proc->tid); 117 verbprintf(vmisc, "image name %s for pid %u %u\n", image_name, proc->tid, proc->tgid); 153 image_name, 0, proc->tid, proc->tgid); 165 static u32 read_tgid(u32 tid) argument 172 snprintf(status_file + 6, 6, "%hu", tid);
|
/external/oprofile/daemon/ |
H A D | opd_spu.c | 23 pid_t tid; member in struct:spu_context_info 68 trans->tid = pop_buffer_value(trans); 74 printf("SPU_CTX_SWITCH to tid %lu, tgid %lu, cookie %llx(%s)\n", 75 (unsigned long)trans->tid, (unsigned long)trans->tgid, 94 spu_context_cache[i].tid = trans->tid; 104 trans->tid = spu_context_cache[i].tid;
|
/external/valgrind/main/memcheck/ |
H A D | mc_include.h | 101 void* MC_(new_block) ( ThreadId tid, 105 void MC_(handle_free) ( ThreadId tid, 110 void MC_(mempool_alloc) ( ThreadId tid, Addr pool, 146 void* MC_(malloc) ( ThreadId tid, SizeT n ); 147 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ); 148 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ); 149 void* MC_(memalign) ( ThreadId tid, SizeT align, SizeT n ); 150 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ); 151 void MC_(free) ( ThreadId tid, void* p ); 152 void MC_(__builtin_delete) ( ThreadId tid, voi [all...] |
/external/lldb/source/Plugins/Process/Linux/ |
H A D | ProcessMonitor.cpp | 58 #define tgkill(pid, tid, sig) syscall(SYS_tgkill, pid, tid, sig) 458 ReadRegOperation(lldb::tid_t tid, unsigned offset, const char *reg_name, argument 460 : m_tid(tid), m_offset(offset), m_reg_name(reg_name), 500 WriteRegOperation(lldb::tid_t tid, unsigned offset, const char *reg_name, argument 502 : m_tid(tid), m_offset(offset), m_reg_name(reg_name), 542 ReadGPROperation(lldb::tid_t tid, void *buf, size_t buf_size, bool &result) argument 543 : m_tid(tid), m_buf(buf), m_buf_size(buf_size), m_result(result) 570 ReadFPROperation(lldb::tid_t tid, void *buf, size_t buf_size, bool &result) argument 571 : m_tid(tid), m_bu 598 ReadRegisterSetOperation(lldb::tid_t tid, void *buf, size_t buf_size, unsigned int regset, bool &result) argument 627 WriteGPROperation(lldb::tid_t tid, void *buf, size_t buf_size, bool &result) argument 655 WriteFPROperation(lldb::tid_t tid, void *buf, size_t buf_size, bool &result) argument 683 WriteRegisterSetOperation(lldb::tid_t tid, void *buf, size_t buf_size, unsigned int regset, bool &result) argument 712 ResumeOperation(lldb::tid_t tid, uint32_t signo, bool &result) argument 749 SingleStepOperation(lldb::tid_t tid, uint32_t signo, bool &result) argument 780 SiginfoOperation(lldb::tid_t tid, void *info, bool &result, int &ptrace_err) argument 809 EventMessageOperation(lldb::tid_t tid, unsigned long *message, bool &result) argument 860 DetachOperation(lldb::tid_t tid, Error &result) argument 1314 lldb::tid_t tid = it->first; local 1499 unsigned long tid = 0; local 1621 StopThread(lldb::tid_t tid) argument 2012 ReadRegisterValue(lldb::tid_t tid, unsigned offset, const char* reg_name, unsigned size, RegisterValue &value) argument 2022 WriteRegisterValue(lldb::tid_t tid, unsigned offset, const char* reg_name, const RegisterValue &value) argument 2032 ReadGPR(lldb::tid_t tid, void *buf, size_t buf_size) argument 2041 ReadFPR(lldb::tid_t tid, void *buf, size_t buf_size) argument 2050 ReadRegisterSet(lldb::tid_t tid, void *buf, size_t buf_size, unsigned int regset) argument 2059 WriteGPR(lldb::tid_t tid, void *buf, size_t buf_size) argument 2068 WriteFPR(lldb::tid_t tid, void *buf, size_t buf_size) argument 2077 WriteRegisterSet(lldb::tid_t tid, void *buf, size_t buf_size, unsigned int regset) argument 2086 Resume(lldb::tid_t tid, uint32_t signo) argument 2102 SingleStep(lldb::tid_t tid, uint32_t signo) argument 2120 GetSignalInfo(lldb::tid_t tid, void *siginfo, int &ptrace_err) argument 2129 GetEventMessage(lldb::tid_t tid, unsigned long *message) argument 2138 Detach(lldb::tid_t tid) argument [all...] |
/external/valgrind/main/coregrind/m_sigframe/ |
H A D | sigframe-mips32-linux.c | 83 ThreadId tid = tst->tid; local 95 addr, tid ); 103 VG_(synth_fault_mapping)( tid, addr ); 113 size + VG_STACK_REDZONE_SZB, tid ); 125 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", 164 void VG_(sigframe_create)( ThreadId tid, argument 174 ThreadState* tst = VG_(get_ThreadState)(tid); 190 tst = VG_(get_ThreadState)(tid); 203 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signa 306 sigframe_destroy( ThreadId tid, Bool isRT ) argument [all...] |
H A D | sigframe-mips64-linux.c | 80 ThreadId tid = tst->tid; local 90 addr, tid); 98 VG_(synth_fault_mapping)(tid, addr); 108 size + VG_STACK_REDZONE_SZB, tid); 118 VG_TRACK(pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", 157 void VG_(sigframe_create) ( ThreadId tid, argument 167 ThreadState* tst = VG_(get_ThreadState)(tid); 175 tst = VG_(get_ThreadState)(tid); 186 VG_TRACK(pre_mem_write, Vg_CoreSignal, tid, "signa 244 sigframe_destroy( ThreadId tid, Bool isRT ) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-lock.c | 109 u32 tid; member in struct:thread_stat 115 static struct thread_stat *thread_stat_find(u32 tid) argument 123 if (st->tid == tid) 125 else if (tid < st->tid) 144 if (new->tid < p->tid) 146 else if (new->tid > p->tid) 156 thread_stat_findnew_after_first(u32 tid) argument 182 thread_stat_findnew_first(u32 tid) argument [all...] |
/external/valgrind/main/drd/ |
H A D | drd_rwlock.c | 42 UWord tid; // DrdThreadId. member in struct:rwlock_thread_info 56 const DrdThreadId tid); 115 const DrdThreadId tid) 117 const UWord uword_tid = tid; 125 const DrdThreadId tid) 127 const UWord uword_tid = tid; 135 const DrdThreadId tid) 137 return (DRD_(rwlock_is_rdlocked_by)(p, tid) 138 || DRD_(rwlock_is_wrlocked_by)(p, tid)); 141 /** Either look up or insert a node corresponding to DRD thread id 'tid' 114 rwlock_is_rdlocked_by(struct rwlock_info* p, const DrdThreadId tid) argument 124 rwlock_is_wrlocked_by(struct rwlock_info* p, const DrdThreadId tid) argument 134 rwlock_is_locked_by(struct rwlock_info* p, const DrdThreadId tid) argument 144 lookup_or_insert_node(OSet* oset, const UWord tid) argument 167 rwlock_combine_other_vc(struct rwlock_info* const p, const DrdThreadId tid, const Bool readers_too) argument 608 rwlock_delete_thread(struct rwlock_info* const p, const DrdThreadId tid) argument [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_fd.cc | 109 d->creation_tid = thr->tid; 136 bool FdLocation(uptr addr, int *fd, int *tid, u32 *stack) { argument 145 *tid = d->creation_tid; 158 DPrintf("#%d: FdAcquire(%d) -> %p\n", thr->tid, fd, s); 169 DPrintf("#%d: FdRelease(%d) -> %p\n", thr->tid, fd, s); 176 DPrintf("#%d: FdAccess(%d)\n", thr->tid, fd); 184 DPrintf("#%d: FdClose(%d)\n", thr->tid, fd); 200 DPrintf("#%d: FdFileCreate(%d)\n", thr->tid, fd); 207 DPrintf("#%d: FdDup(%d, %d)\n", thr->tid, oldfd, newfd); 218 DPrintf("#%d: FdCreatePipe(%d, %d)\n", thr->tid, rf [all...] |
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
H A D | android_parser_test.js | 50 assertEquals(4831, thread.tid); 68 assertEquals(4831, thread.tid); 90 assertEquals(9649, thread.tid); 138 assertEquals(4831, thread.tid); 161 assertEquals(2894, thread.tid);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | elfcore.h | 121 pid_t tid; member in struct:Frame 126 f.tid = sys_gettid(); \ 174 pid_t tid; member in struct:Frame 179 f.tid = sys_gettid(); \ 239 pid_t tid; member in struct:Frame 245 f.tid = sys_gettid(); \ 270 pid_t tid; member in struct:Frame 316 f.tid = sys_gettid(); \ 333 pid_t tid; member in struct:Frame 335 #define FRAME(f) Frame f; do { f.tid [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | elfcore.h | 121 pid_t tid; member in struct:Frame 126 f.tid = sys_gettid(); \ 174 pid_t tid; member in struct:Frame 179 f.tid = sys_gettid(); \ 239 pid_t tid; member in struct:Frame 245 f.tid = sys_gettid(); \ 270 pid_t tid; member in struct:Frame 316 f.tid = sys_gettid(); \ 333 pid_t tid; member in struct:Frame 335 #define FRAME(f) Frame f; do { f.tid [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-x86-darwin.c | 179 ThreadId tid = VG_(alloc_ThreadState)(); local 180 ThreadState *tst = VG_(get_ThreadState)(tid); 192 find_stack_segment(tid, tst->arch.vex.guest_ESP); 212 stack = (char *)allocstack(tst->tid); 312 record_named_port(tst->tid, kport, MACH_PORT_RIGHT_SEND, "thread-%p"); 334 find_stack_segment(tst->tid, sp); 340 //VG_TRACK ( pre_thread_ll_create, ptid, tst->tid ); 420 ThreadId tid = VG_(lwpid_to_vgtid)(kport); local 421 vg_assert(VG_(is_valid_tid)(tid)); 424 tst = VG_(get_ThreadState)(tid); [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | target.c | 66 ThreadId tid; local 75 for (tid = 1; tid < VG_N_THREADS; tid++) { 78 ti, tid, VG_(name_of_ThreadStatus) (ts->status), \ 81 if (VG_(is_valid_tid) (tid)) { 82 ts = VG_(get_ThreadState) (tid); 217 int valgrind_thread_alive (unsigned long tid) argument 219 struct thread_info *ti = gdb_id_to_thread(tid); 324 ThreadId tid local 370 ThreadId tid = tst->tid; local 491 ThreadId tid = tst->tid; local 617 ThreadId tid = tst->tid; local [all...] |
H A D | m_gdbserver.c | 63 static void invalidate_current_ip (ThreadId tid, const HChar *who); 136 static void call_gdbserver ( ThreadId tid , CallReason reason); 416 const ThreadId tid = VG_(running_tid); local 428 dlog(1, "tid %d VG_(is_watched) %s addr %p szB %d\n", 429 tid, VG_(ppPointKind) (kind), C2v(addr), szB); 473 invalidate_current_ip (tid, "m_gdbserver write watchpoint"); 475 call_gdbserver (tid, watch_reason); 586 static void invalidate_current_ip (ThreadId tid, const HChar *who) argument 588 invalidate_if_jump_not_yet_gdbserved (VG_(get_IP) (tid), who); 601 void VG_(gdbserver_prerun_action) (ThreadId tid) argument 917 gdbserver_activity(ThreadId tid) argument 937 gdbserver_report_signal(Int vki_sigNo, ThreadId tid) argument 976 gdbserver_exit(ThreadId tid, VgSchedReturnCode tids_schedretcode) argument [all...] |
/external/valgrind/main/callgrind/ |
H A D | threads.c | 127 void CLG_(switch_thread)(ThreadId tid) argument 129 if (tid == CLG_(current_tid)) return; 131 CLG_DEBUG(0, ">> thread %d (was %d)\n", tid, CLG_(current_tid)); 152 CLG_(current_tid) = tid; 153 CLG_ASSERT(tid < VG_N_THREADS); 155 if (tid != VG_INVALID_THREADID) { 160 if (thread[tid] == 0) thread[tid] = new_thread(); 161 t = thread[tid]; 178 void CLG_(run_thread)(ThreadId tid) argument 196 pre_signal(ThreadId tid, Int sigNum, Bool alt_stack) argument 236 post_signal(ThreadId tid, Int sigNum) argument [all...] |
/external/libselinux/src/ |
H A D | procattr.c | 25 pid_t tid; local 31 tid = gettid(); 32 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); 81 pid_t tid; local 88 tid = gettid(); 89 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr);
|
/external/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextDarwin_i386.h | 233 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) = 0; 236 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) = 0; 239 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) = 0; 242 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) = 0; 245 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) = 0; 248 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc) = 0;
|
H A D | RegisterContextDarwin_x86_64.h | 237 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) = 0; 240 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) = 0; 243 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) = 0; 246 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) = 0; 249 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) = 0; 252 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc) = 0;
|
/external/qemu/distrib/libselinux/src/ |
H A D | procattr.c | 25 pid_t tid; local 31 tid = gettid(); 32 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); 81 pid_t tid; local 88 tid = gettid(); 89 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr);
|
/external/valgrind/main/coregrind/ |
H A D | pub_core_threadstate.h | 142 ThreadId parent; // parent tid (if any) 154 void (*post_mach_trap_fn)(ThreadId tid, 291 ThreadId in this tid field, but be aware that it should 293 ThreadId tid; member in struct:__anon32745 398 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid ); 400 /* Check that tid is in range and denotes a non-Empty thread. */ 401 extern Bool VG_(is_valid_tid) ( ThreadId tid ); 404 extern Bool VG_(is_running_thread)(ThreadId tid); 407 extern Bool VG_(is_exiting)(ThreadId tid);
|