Home
last modified time | relevance | path

Searched refs:pid_ (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/tools/perf/util/
Dthread.c16 pid_t pid = thread->pid_; in thread__init_map_groups()
36 thread->pid_ = pid; in thread__new()
191 if (thread->pid_ == parent->pid_) in thread__clone_map_groups()
196 thread->pid_, thread->tid, parent->pid_, parent->tid); in thread__clone_map_groups()
Ddb-export.c134 if (thread->pid_ != -1) { in db_export__thread()
135 if (thread->pid_ == thread->tid) { in db_export__thread()
139 thread->pid_, in db_export__thread()
140 thread->pid_); in db_export__thread()
236 if (thread->pid_ == thread->tid) in get_main_thread()
239 if (thread->pid_ == -1) in get_main_thread()
242 return machine__find_thread(machine, thread->pid_, thread->pid_); in get_main_thread()
Dthread.h21 pid_t pid_; /* Not all tools update this */ member
106 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
Dmachine.c317 if (pid == th->pid_ || pid == -1 || th->pid_ != -1) in machine__update_thread_pid()
320 th->pid_ = pid; in machine__update_thread_pid()
322 if (th->pid_ == th->tid) in machine__update_thread_pid()
325 leader = __machine__findnew_thread(machine, th->pid_, th->pid_); in machine__update_thread_pid()
346 th->pid_, th->tid); in machine__update_thread_pid()
355 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid()
1409 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event()
1411 parent->pid_, parent->tid); in machine__process_fork_event()
Dsort.c1009 if (left->thread->pid_ > right->thread->pid_) return -1; in sort__dcacheline_cmp()
1010 if (left->thread->pid_ < right->thread->pid_) return 1; in sort__dcacheline_cmp()
Dthread-stack.c699 if (ts->comm != comm && thread->pid_ == thread->tid) { in thread_stack__process()
Dintel-bts.c464 btsq->pid = thread->pid_; in intel_bts_process_queue()
Dintel-pt.c789 ptq->pid = ptq->thread->pid_; in intel_pt_set_pid_tid_cpu()
/linux-4.4.14/tools/perf/
Dbuiltin-trace.c1485 if (thread->pid_ == thread->tid) { in thread__read_fd_path()
1487 "/proc/%d/fd/%d", thread->pid_, fd); in thread__read_fd_path()
1490 "/proc/%d/task/%d/fd/%d", thread->pid_, thread->tid, fd); in thread__read_fd_path()
/linux-4.4.14/tools/perf/util/scripting-engines/
Dtrace-event-python.c561 tuple_set_s32(t, 3, thread->pid_); in python_export_thread()