/system/core/libbacktrace/ |
H A D | thread_utils.c | 25 int tgkill(int tgid, int tid, int sig) { argument 26 return syscall(__NR_tgkill, tgid, tid, sig);
|
H A D | BacktracePtrace.h | 29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} argument
|
H A D | BacktraceCurrent.h | 40 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} argument
|
H A D | BacktracePtrace.cpp | 34 static bool PtraceRead(pid_t tid, uintptr_t addr, word_t* out_value) { argument 38 *out_value = ptrace(PTRACE_PEEKTEXT, tid, reinterpret_cast<void*>(addr), nullptr);
|
H A D | UnwindCurrent.h | 36 UnwindCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : BacktraceCurrent(pid, tid, map) {} argument
|
H A D | UnwindPtrace.cpp | 31 UnwindPtrace::UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map) argument 32 : BacktracePtrace(pid, tid, map), addr_space_(nullptr), upt_info_(nullptr) {
|
H A D | Backtrace.cpp | 42 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) argument 43 : pid_(pid), tid_(tid), map_(map), map_shared_(true) { 127 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { argument 130 if (tid == BACKTRACE_CURRENT_THREAD) { 131 tid = gettid(); 133 } else if (tid == BACKTRACE_CURRENT_THREAD) { 134 tid = pid; 138 return new UnwindCurrent(pid, tid, map); 140 return new UnwindPtrace(pid, tid, map);
|
H A D | ThreadEntry.cpp | 33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) argument 34 : pid_(pid), tid_(tid), ref_count_(1), mutex_(PTHREAD_MUTEX_INITIALIZER), 49 ThreadEntry* ThreadEntry::Get(pid_t pid, pid_t tid, bool create) { argument 53 if (entry->Match(pid, tid)) { 61 entry = new ThreadEntry(pid, tid);
|
H A D | map_info.c | 132 backtrace_map_info_t* backtrace_create_map_info_list(pid_t tid) { argument 138 if (tid < 0) { 139 tid = getpid(); 141 snprintf(path, PATH_MAX, "/proc/%d/maps", tid);
|
/system/core/debuggerd/x86/ |
H A D | machine.cpp | 44 void dump_registers(log_t* log, pid_t tid) { argument 46 if (ptrace(PTRACE_GETREGS, tid, 0, &r) == -1) {
|
/system/core/debuggerd/x86_64/ |
H A D | machine.cpp | 45 void dump_registers(log_t* log, pid_t tid) { argument 47 if (ptrace(PTRACE_GETREGS, tid, 0, &r) == -1) {
|
/system/core/debuggerd/arm/ |
H A D | machine.cpp | 48 void dump_registers(log_t* log, pid_t tid) { argument 50 if (ptrace(PTRACE_GETREGS, tid, 0, &r)) { 70 if (ptrace(PTRACE_GETVFPREGS, tid, 0, &vfp_regs)) {
|
/system/core/debuggerd/arm64/ |
H A D | machine.cpp | 53 void dump_registers(log_t* log, pid_t tid) { argument 59 if (ptrace(PTRACE_GETREGSET, tid, (void*) NT_PRSTATUS, (void*) &io) == -1) { 83 if (ptrace(PTRACE_GETREGSET, tid, (void*) NT_PRFPREG, (void*) &io) == -1) {
|
/system/core/debuggerd/mips/ |
H A D | machine.cpp | 61 void dump_registers(log_t* log, pid_t tid) { argument 63 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
|
/system/core/debuggerd/mips64/ |
H A D | machine.cpp | 61 void dump_registers(log_t* log, pid_t tid) { argument 63 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
|
/system/core/include/cutils/ |
H A D | debugger.h | 44 pid_t tid; member in struct:__anon1323 53 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen); 61 int dump_tombstone_timeout(pid_t tid, char* pathbuf, size_t pathlen, int timeout_secs); 66 int dump_backtrace_to_file(pid_t tid, int fd); 73 int dump_backtrace_to_file_timeout(pid_t tid, int fd, int timeout_secs);
|
/system/core/libutils/ |
H A D | CallStack.cpp | 40 void CallStack::update(int32_t ignoreDepth, pid_t tid) { argument 43 UniquePtr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid));
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
H A D | target.h | 24 const char * tid; member in struct:perf_target
|
/system/bt/utils/src/ |
H A D | bt_utils.c | 119 int tid = gettid(); local 127 // set_sched_policy does not support tid == 0 128 rc = set_sched_policy(tid, SP_AUDIO_SYS); 130 g_TaskIDs[high_task] = tid; 134 LOG_WARN("failed to change sched policy, tid %d, err: %d", tid, errno); 143 if (setpriority(PRIO_PROCESS, tid, priority) < 0) { 144 LOG_WARN("failed to change priority tid: %d to %d", tid, priority); 161 int tid; local [all...] |
/system/core/include/log/ |
H A D | logprint.h | 52 int32_t tid; member in struct:AndroidLogEntry_t
|
/system/core/include/private/ |
H A D | android_logger.h | 40 uint16_t tid; member in struct:__anon1335
|
/system/core/libcutils/ |
H A D | debugger.c | 45 static int make_dump_request(debugger_action_t action, pid_t tid, int timeout_secs) { argument 48 msg.tid = tid; 78 int dump_backtrace_to_file(pid_t tid, int fd) { argument 79 return dump_backtrace_to_file_timeout(tid, fd, 0); 82 int dump_backtrace_to_file_timeout(pid_t tid, int fd, int timeout_secs) { argument 83 int sock_fd = make_dump_request(DEBUGGER_ACTION_DUMP_BACKTRACE, tid, timeout_secs); 102 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen) { argument 103 return dump_tombstone_timeout(tid, pathbuf, pathlen, 0); 106 int dump_tombstone_timeout(pid_t tid, cha argument [all...] |
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
H A D | target.h | 9 const char *tid; member in struct:perf_target 52 return target->tid || target->pid || target->uid_str;
|
/system/extras/simpleperf/ |
H A D | environment.h | 46 pid_t tgid, tid; member in struct:ThreadComm
|
/system/bt/osi/src/ |
H A D | thread.c | 41 pid_t tid; member in struct:thread_t 162 const int rc = setpriority(PRIO_PROCESS, thread->tid, priority); 164 LOG_ERROR("%s unable to set thread priority %d for tid %d, error %d", 165 __func__, priority, thread->tid, rc); 201 thread->tid = gettid();
|