Searched refs:pid_ (Results 1 – 10 of 10) sorted by relevance
/tools/perf/util/ |
D | thread.c | 17 pid_t pid = thread->pid_; in thread__init_map_groups() 39 thread->pid_ = pid; in thread__new() 161 thread->pid_, thread->tid) >= (int)sizeof(path)) && in thread__set_comm_from_proc() 252 if (thread->pid_ == parent->pid_) in thread__clone_map_groups() 257 thread->pid_, thread->tid, parent->pid_, parent->tid); in thread__clone_map_groups() 306 if (thread->pid_ == thread->tid) in thread__main_thread() 309 if (thread->pid_ == -1) in thread__main_thread() 312 return machine__find_thread(machine, thread->pid_, thread->pid_); in thread__main_thread()
|
D | thread.h | 22 pid_t pid_; /* Not all tools update this */ member 115 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
|
D | db-export.c | 136 if (thread->pid_ != -1) { in db_export__thread() 137 if (thread->pid_ == thread->tid) { in db_export__thread() 141 thread->pid_, in db_export__thread() 142 thread->pid_); in db_export__thread()
|
D | machine.c | 306 if (pid == th->pid_ || pid == -1 || th->pid_ != -1) in machine__update_thread_pid() 309 th->pid_ = pid; in machine__update_thread_pid() 311 if (th->pid_ == th->tid) in machine__update_thread_pid() 314 leader = __machine__findnew_thread(machine, th->pid_, th->pid_); in machine__update_thread_pid() 335 th->pid_, th->tid); in machine__update_thread_pid() 344 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid() 1465 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event() 1467 parent->pid_, parent->tid); in machine__process_fork_event()
|
D | thread-stack.c | 562 if (ts->comm != comm && thread->pid_ == thread->tid) { in thread_stack__process()
|
D | sort.c | 1119 if (left->thread->pid_ > right->thread->pid_) return -1; in sort__dcacheline_cmp() 1120 if (left->thread->pid_ < right->thread->pid_) return 1; in sort__dcacheline_cmp()
|
D | intel-bts.c | 477 btsq->pid = thread->pid_; in intel_bts_process_queue()
|
D | intel-pt.c | 879 ptq->pid = ptq->thread->pid_; in intel_pt_set_pid_tid_cpu()
|
/tools/perf/ |
D | builtin-trace.c | 952 if (thread->pid_ == thread->tid) { in thread__read_fd_path() 954 "/proc/%d/fd/%d", thread->pid_, fd); in thread__read_fd_path() 957 "/proc/%d/task/%d/fd/%d", thread->pid_, thread->tid, fd); in thread__read_fd_path()
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 583 tuple_set_s32(t, 3, thread->pid_); in python_export_thread()
|