Searched defs:tid (Results 1 - 25 of 54) sorted by relevance

123

/system/core/libbacktrace/
H A Dthread_utils.c25 int tgkill(int tgid, int tid, int sig) { argument
26 return syscall(__NR_tgkill, tgid, tid, sig);
H A DBacktracePtrace.h29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} argument
H A DBacktraceCurrent.h40 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} argument
H A DBacktracePtrace.cpp34 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 DUnwindCurrent.h36 UnwindCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : BacktraceCurrent(pid, tid, map) {} argument
H A DUnwindPtrace.cpp31 UnwindPtrace::UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map) argument
32 : BacktracePtrace(pid, tid, map), addr_space_(nullptr), upt_info_(nullptr) {
H A DBacktrace.cpp42 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 DThreadEntry.cpp33 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 Dmap_info.c132 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 Dmachine.cpp44 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 Dmachine.cpp45 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 Dmachine.cpp48 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 Dmachine.cpp53 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 Dmachine.cpp61 void dump_registers(log_t* log, pid_t tid) { argument
63 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
/system/core/debuggerd/mips64/
H A Dmachine.cpp61 void dump_registers(log_t* log, pid_t tid) { argument
63 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
/system/core/include/cutils/
H A Ddebugger.h44 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 DCallStack.cpp40 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 Dtarget.h24 const char * tid; member in struct:perf_target
/system/bt/utils/src/
H A Dbt_utils.c119 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 Dlogprint.h52 int32_t tid; member in struct:AndroidLogEntry_t
/system/core/include/private/
H A Dandroid_logger.h40 uint16_t tid; member in struct:__anon1335
/system/core/libcutils/
H A Ddebugger.c45 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 Dtarget.h9 const char *tid; member in struct:perf_target
52 return target->tid || target->pid || target->uid_str;
/system/extras/simpleperf/
H A Denvironment.h46 pid_t tgid, tid; member in struct:ThreadComm
/system/bt/osi/src/
H A Dthread.c41 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();

Completed in 492 milliseconds

123