Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dthread.c21 pid_t pid = thread->pid_; in thread__init_map_groups()
43 thread->pid_ = pid; in thread__new()
239 thread->pid_, thread->tid) >= (int)sizeof(path)) && in thread__set_comm_from_proc()
336 if (thread->pid_ == parent->pid_) in thread__clone_map_groups()
341 thread->pid_, thread->tid, parent->pid_, parent->tid); in thread__clone_map_groups()
388 if (thread->pid_ == thread->tid) in thread__main_thread()
391 if (thread->pid_ == -1) in thread__main_thread()
394 return machine__find_thread(machine, thread->pid_, thread->pid_); in thread__main_thread()
Dthread.h24 pid_t pid_; /* Not all tools update this */ member
122 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
Ddb-export.c136 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()
Dmachine.c368 if (pid == th->pid_ || pid == -1 || th->pid_ != -1) in machine__update_thread_pid()
371 th->pid_ = pid; in machine__update_thread_pid()
373 if (th->pid_ == th->tid) in machine__update_thread_pid()
376 leader = __machine__findnew_thread(machine, th->pid_, th->pid_); in machine__update_thread_pid()
397 th->pid_, th->tid); in machine__update_thread_pid()
406 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid()
1722 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event()
1724 parent->pid_, parent->tid); in machine__process_fork_event()
Dthread-stack.c563 if (ts->comm != comm && thread->pid_ == thread->tid) { in thread_stack__process()
Dsort.c1146 if (left->thread->pid_ > right->thread->pid_) return -1; in sort__dcacheline_cmp()
1147 if (left->thread->pid_ < right->thread->pid_) return 1; in sort__dcacheline_cmp()
Dintel-bts.c475 btsq->pid = thread->pid_; in intel_bts_process_queue()
Dcs-etm.c641 etmq->pid = etmq->thread->pid_; in cs_etm__set_pid_tid_cpu()
Dintel-pt.c881 ptq->pid = ptq->thread->pid_; in intel_pt_set_pid_tid_cpu()
/Linux-v4.19/tools/perf/
Dbuiltin-c2c.c1053 return scnprintf(hpp->buf, hpp->size, "%*d", width, he->thread->pid_); in STAT_FN()
1060 return left->thread->pid_ - right->thread->pid_; in pid_cmp()
Dbuiltin-trace.c1005 if (thread->pid_ == thread->tid) { in thread__read_fd_path()
1007 "/proc/%d/fd/%d", thread->pid_, fd); in thread__read_fd_path()
1010 "/proc/%d/task/%d/fd/%d", thread->pid_, thread->tid, fd); in thread__read_fd_path()
Dbuiltin-report.c718 thread->pid_, thread->tid, thread->ppid, in task__print_level()
Dbuiltin-sched.c1899 pid_t pid = thread->pid_; in timehist_get_commstr()
/Linux-v4.19/tools/perf/util/scripting-engines/
Dtrace-event-python.c996 tuple_set_s32(t, 3, thread->pid_); in python_export_thread()