Home
last modified time | relevance | path

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

/Linux-v6.6/tools/perf/util/
Dthread.c24 pid_t pid = thread__pid(thread); in thread__init_maps()
228 if (second_last && !last->start && thread__pid(thread) == thread__tid(thread)) in thread__exec_comm()
278 thread__pid(thread), thread__tid(thread)) >= (int)sizeof(path)) && in thread__set_comm_from_proc()
385 if (thread__pid(thread) == thread__pid(parent)) in thread__clone_maps()
390 thread__pid(thread), thread__tid(thread), in thread__clone_maps()
391 thread__pid(parent), thread__tid(parent)); in thread__clone_maps()
434 if (thread__pid(thread) == thread__tid(thread)) in thread__main_thread()
437 if (thread__pid(thread) == -1) in thread__main_thread()
440 return machine__find_thread(machine, thread__pid(thread), thread__pid(thread)); in thread__main_thread()
Dthread.h137 static inline pid_t thread__pid(const struct thread *thread) in thread__pid() function
325 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered()
Dmachine.c522 if (pid == thread__pid(th) || pid == -1 || thread__pid(th) != -1) in machine__update_thread_pid()
527 if (thread__pid(th) == thread__tid(th)) in machine__update_thread_pid()
530 leader = __machine__findnew_thread(machine, thread__pid(th), thread__pid(th)); in machine__update_thread_pid()
551 thread__pid(th), thread__tid(th)); in machine__update_thread_pid()
560 pr_err("Failed to join map groups for %d:%d\n", thread__pid(th), thread__tid(th)); in machine__update_thread_pid()
2106 if (thread__pid(parent) != (pid_t)event->fork.ppid) { in machine__process_fork_event()
2108 thread__pid(parent), thread__tid(parent)); in machine__process_fork_event()
Ddata-convert-json.c177 output_json_key_format(out, true, 3, "pid", "%i", thread__pid(al.thread)); in process_sample_event()
Ddb-export.c539 *is_idle = !thread__pid(thread) && !thread__tid(thread); in db_export__pid_tid()
Dthread-stack.c115 return !(thread__tid(thread) || thread__pid(thread)); in thread_stack__per_cpu()
1129 if (ts->comm != comm && thread__pid(thread) == thread__tid(thread)) { in thread_stack__process()
Dsort.c1546 if (thread__pid(left->thread) > thread__pid(right->thread)) in sort__dcacheline_cmp()
1548 if (thread__pid(left->thread) < thread__pid(right->thread)) in sort__dcacheline_cmp()
Dintel-bts.c459 btsq->pid = thread__pid(thread); in intel_bts_process_queue()
Dcs-etm.c1466 sample.pid = thread__pid(tidq->thread); in cs_etm__synth_instruction_sample()
1526 sample.pid = thread__pid(tidq->prev_packet_thread); in cs_etm__synth_branch_sample()
Darm-spe.c257 speq->pid = thread__pid(speq->thread); in arm_spe_set_pid_tid_cpu()
Dintel-pt.c1469 ptq->guest_pid = thread__pid(ptq->guest_thread); in intel_pt_get_guest_from_sideband()
1492 ptq->pid = thread__pid(ptq->thread); in intel_pt_set_pid_tid_cpu()
3099 ptq->pid = thread__pid(ptq->thread); in intel_pt_sample_set_pid_tid_cpu()
/Linux-v6.6/tools/perf/
Dbuiltin-c2c.c1158 return scnprintf(hpp->buf, hpp->size, "%*d", width, thread__pid(he->thread)); in STAT_FN()
1165 return thread__pid(left->thread) - thread__pid(right->thread); in pid_cmp()
Dbuiltin-trace.c1414 if (thread__pid(thread) == thread__tid(thread)) { in thread__read_fd_path()
1416 "/proc/%d/fd/%d", thread__pid(thread), fd); in thread__read_fd_path()
1420 thread__pid(thread), thread__tid(thread), fd); in thread__read_fd_path()
2236 thread__comm_str(thread), thread__pid(thread),
Dbuiltin-report.c875 thread__pid(thread), thread__tid(thread), in task__print_level()
Dbuiltin-sched.c1959 pid_t pid = thread__pid(thread); in timehist_get_commstr()
/Linux-v6.6/tools/perf/util/scripting-engines/
Dtrace-event-python.c1181 tuple_set_s32(t, 3, thread__pid(thread)); in python_export_thread()