Searched refs:pid_ (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.15/tools/perf/util/ |
D | thread.c | 24 pid_t pid = thread->pid_; in thread__init_maps() 46 thread->pid_ = pid; in thread__new() 233 if (second_last && !last->start && thread->pid_ == thread->tid) in thread__exec_comm() 283 thread->pid_, thread->tid) >= (int)sizeof(path)) && in thread__set_comm_from_proc() 379 if (thread->pid_ == parent->pid_) in thread__clone_maps() 384 thread->pid_, thread->tid, parent->pid_, parent->tid); in thread__clone_maps() 427 if (thread->pid_ == thread->tid) in thread__main_thread() 430 if (thread->pid_ == -1) in thread__main_thread() 433 return machine__find_thread(machine, thread->pid_, thread->pid_); in thread__main_thread()
|
D | thread.h | 38 pid_t pid_; /* Not all tools update this */ member 146 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
|
D | machine.c | 413 if (pid == th->pid_ || pid == -1 || th->pid_ != -1) in machine__update_thread_pid() 416 th->pid_ = pid; in machine__update_thread_pid() 418 if (th->pid_ == th->tid) in machine__update_thread_pid() 421 leader = __machine__findnew_thread(machine, th->pid_, th->pid_); in machine__update_thread_pid() 442 th->pid_, th->tid); in machine__update_thread_pid() 451 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid() 1931 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event() 1933 parent->pid_, parent->tid); in machine__process_fork_event()
|
D | data-convert-json.c | 168 output_json_key_format(out, true, 3, "pid", "%i", al.thread->pid_); in process_sample_event()
|
D | db-export.c | 533 *is_idle = !thread->pid_ && !thread->tid; in db_export__pid_tid()
|
D | thread-stack.c | 115 return !(thread->tid || thread->pid_); in thread_stack__per_cpu() 1130 if (ts->comm != comm && thread->pid_ == thread->tid) { in thread_stack__process()
|
D | sort.c | 1279 if (left->thread->pid_ > right->thread->pid_) return -1; in sort__dcacheline_cmp() 1280 if (left->thread->pid_ < right->thread->pid_) return 1; in sort__dcacheline_cmp()
|
D | intel-bts.c | 459 btsq->pid = thread->pid_; in intel_bts_process_queue()
|
D | arm-spe.c | 608 speq->pid = speq->thread->pid_; in arm_spe_set_pid_tid_cpu()
|
D | intel-pt.c | 1300 ptq->pid = ptq->thread->pid_; in intel_pt_set_pid_tid_cpu() 2663 ptq->pid = ptq->thread->pid_; in intel_pt_sample_set_pid_tid_cpu()
|
D | cs-etm.c | 1104 tidq->pid = tidq->thread->pid_; in cs_etm__set_pid_tid_cpu()
|
/Linux-v5.15/tools/perf/ |
D | builtin-c2c.c | 1035 return scnprintf(hpp->buf, hpp->size, "%*d", width, he->thread->pid_); in STAT_FN() 1042 return left->thread->pid_ - right->thread->pid_; in pid_cmp()
|
D | builtin-trace.c | 1385 if (thread->pid_ == thread->tid) { in thread__read_fd_path() 1387 "/proc/%d/fd/%d", thread->pid_, fd); in thread__read_fd_path() 1390 "/proc/%d/task/%d/fd/%d", thread->pid_, thread->tid, fd); in thread__read_fd_path() 2194 thread__comm_str(thread), thread->pid_, thread->tid);
|
D | builtin-report.c | 820 thread->pid_, thread->tid, thread->ppid, in task__print_level()
|
D | builtin-sched.c | 1912 pid_t pid = thread->pid_; in timehist_get_commstr()
|
/Linux-v5.15/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 1094 tuple_set_s32(t, 3, thread->pid_); in python_export_thread()
|