Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/util/
A Dthread.c24 pid_t pid = thread->pid_; in thread__init_maps()
46 thread->pid_ = pid; in thread__new()
234 if (second_last && !last->start && thread->pid_ == thread->tid) in thread__exec_comm()
284 thread->pid_, thread->tid) >= (int)sizeof(path)) && in thread__set_comm_from_proc()
380 if (thread->pid_ == parent->pid_) in thread__clone_maps()
385 thread->pid_, thread->tid, parent->pid_, parent->tid); in thread__clone_maps()
428 if (thread->pid_ == thread->tid) in thread__main_thread()
431 if (thread->pid_ == -1) in thread__main_thread()
434 return machine__find_thread(machine, thread->pid_, thread->pid_); in thread__main_thread()
A Dthread.h38 pid_t pid_; /* Not all tools update this */ member
147 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
A Dmachine.c515 if (pid == th->pid_ || pid == -1 || th->pid_ != -1) in machine__update_thread_pid()
518 th->pid_ = pid; in machine__update_thread_pid()
520 if (th->pid_ == th->tid) in machine__update_thread_pid()
523 leader = __machine__findnew_thread(machine, th->pid_, th->pid_); in machine__update_thread_pid()
544 th->pid_, th->tid); in machine__update_thread_pid()
553 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid()
2046 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event()
2048 parent->pid_, parent->tid); in machine__process_fork_event()
A Ddata-convert-json.c173 output_json_key_format(out, true, 3, "pid", "%i", al.thread->pid_); in process_sample_event()
A Ddb-export.c533 *is_idle = !thread->pid_ && !thread->tid; in db_export__pid_tid()
A Dthread-stack.c115 return !(thread->tid || thread->pid_); in thread_stack__per_cpu()
1130 if (ts->comm != comm && thread->pid_ == thread->tid) { in thread_stack__process()
A Dsort.c1504 if (left->thread->pid_ > right->thread->pid_) return -1; in sort__dcacheline_cmp()
1505 if (left->thread->pid_ < right->thread->pid_) return 1; in sort__dcacheline_cmp()
A Dintel-bts.c459 btsq->pid = thread->pid_; in intel_bts_process_queue()
A Darm-spe.c257 speq->pid = speq->thread->pid_; in arm_spe_set_pid_tid_cpu()
A Dintel-pt.c1447 ptq->guest_pid = ptq->guest_thread->pid_; in intel_pt_get_guest_from_sideband()
1470 ptq->pid = ptq->thread->pid_; in intel_pt_set_pid_tid_cpu()
3077 ptq->pid = ptq->thread->pid_; in intel_pt_sample_set_pid_tid_cpu()
A Dcs-etm.c1105 tidq->pid = tidq->thread->pid_; in cs_etm__set_pid_tid_cpu()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-c2c.c1153 return scnprintf(hpp->buf, hpp->size, "%*d", width, he->thread->pid_); in STAT_FN()
1160 return left->thread->pid_ - right->thread->pid_; in pid_cmp()
A Dbuiltin-trace.c1386 if (thread->pid_ == thread->tid) { in thread__read_fd_path()
1388 "/proc/%d/fd/%d", thread->pid_, fd); in thread__read_fd_path()
1391 "/proc/%d/task/%d/fd/%d", thread->pid_, thread->tid, fd); in thread__read_fd_path()
2203 thread__comm_str(thread), thread->pid_, thread->tid);
A Dbuiltin-report.c864 thread->pid_, thread->tid, thread->ppid, in task__print_level()
A Dbuiltin-sched.c1939 pid_t pid = thread->pid_; in timehist_get_commstr()
/linux-6.3-rc2/tools/perf/util/scripting-engines/
A Dtrace-event-python.c1148 tuple_set_s32(t, 3, thread->pid_); in python_export_thread()

Completed in 89 milliseconds