Searched refs:tid (Results 26 - 42 of 42) sorted by relevance

12

/system/core/include/corkscrew/
H A Dmap_info.h40 /* Loads memory map from /proc/<tid>/maps. */
41 map_info_t* load_map_info_list(pid_t tid);
H A Dbacktrace.h67 ssize_t unwind_backtrace_thread(pid_t tid, backtrace_frame_t* backtrace,
75 ssize_t unwind_backtrace_ptrace(pid_t tid, const ptrace_context_t* context,
/system/core/toolbox/
H A Dps.c34 static int ps_line(int pid, int tid, char *namefilter) argument
52 if(tid) {
53 sprintf(statline, "/proc/%d/task/%d/stat", pid, tid);
55 snprintf(macline, sizeof(macline), "/proc/%d/task/%d/attr/current", pid, tid);
135 if(tid != 0) {
137 pid = tid;
195 int tid = atoi(de->d_name); local
196 if(tid == pid) continue;
197 ps_line(pid, tid, namefilter);
H A Dtop.c56 pid_t tid; member in struct:proc_info
101 static struct proc_info *find_old_proc(pid_t pid, pid_t tid);
230 pid_t pid, tid; local
258 proc->pid = proc->tid = pid;
291 tid = atoi(tid_dir->d_name);
295 proc->pid = pid; proc->tid = tid;
297 sprintf(filename, "/proc/%d/task/%d/stat", pid, tid);
300 read_policy(tid, proc);
419 old_proc = find_old_proc(new_procs[i]->pid, new_procs[i]->tid);
488 find_old_proc(pid_t pid, pid_t tid) argument
[all...]
/system/core/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c174 ssize_t unwind_backtrace_ptrace_arch(pid_t tid, const ptrace_context_t* context, argument
178 if (ptrace(PTRACE_GETREGS, tid, 0, &regs)) {
191 init_memory_ptrace(&memory, tid);
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c141 ssize_t unwind_backtrace_ptrace_arch(pid_t tid, const ptrace_context_t* context, argument
144 if (ptrace(PTRACE_GETREGS, tid, 0, &regs)) {
154 init_memory_ptrace(&memory, tid);
/system/core/include/cutils/
H A Dlogprint.h48 int32_t tid; member in struct:AndroidLogEntry_t
/system/core/libcorkscrew/
H A Dmap_info.c71 map_info_t* load_map_info_list(pid_t tid) { argument
77 snprintf(path, PATH_MAX, "/proc/%d/maps", tid);
/system/core/liblog/
H A Dfake_log_device.c357 pid_t pid, tid; local
363 pid = tid = getpid(); // find gettid()?
401 "%c(%5d:%5d) ", priChar, pid, tid);
415 "%s %5d %5d %c %-8s \n\t", timeBuf, pid, tid, priChar, tag);
421 timeBuf, pid, tid, priChar, tag);
H A Dlogprint.c356 entry->tid = buf->tid;
611 entry->tid = buf->tid;
756 "%c(%5d:%5d) ", priChar, entry->pid, entry->tid);
776 entry->pid, entry->tid, priChar, entry->tag);
784 entry->tid, priChar, entry->tag);
/system/core/adb/
H A Dusb_linux_client.c231 adb_thread_t tid; local
257 if(adb_thread_create(&tid, usb_adb_open_thread, h)){
440 adb_thread_t tid; local
458 if (adb_thread_create(&tid, usb_ffs_open_thread, h)){
H A Dsysdeps.h64 typedef struct { unsigned tid; } adb_thread_t; member in struct:__anon282
72 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg );
73 if (thread->tid == (unsigned)-1L) {
H A Dusb_windows.c180 adb_thread_t tid; local
182 if(adb_thread_create(&tid, device_poll_thread, NULL)) {
H A Dusb_libusb.c629 adb_thread_t tid; local
651 if (adb_thread_create(&tid, device_poll_thread, NULL)) {
H A Dusb_osx.c416 adb_thread_t tid; local
424 if(adb_thread_create(&tid, RunLoopThread, NULL))
H A Dusb_linux.c703 adb_thread_t tid; local
712 if(adb_thread_create(&tid, device_poll_thread, NULL)){
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c131 if (memory->tid < 0) {
585 ssize_t unwind_backtrace_ptrace_arch(pid_t tid, const ptrace_context_t* context, argument
588 if (ptrace(PTRACE_GETREGS, tid, 0, &regs)) {
598 init_memory_ptrace(&memory, tid);

Completed in 8600 milliseconds

12