Searched refs:thread__pid (Results 1 – 8 of 8) sorted by relevance
/linux/tools/perf/util/ |
H A D | thread.c | 24 pid_t pid = thread__pid(thread); in thread__init_maps() 224 if (second_last && !last->start && thread__pid(thread) == thread__tid(thread)) in thread__exec_comm() 274 thread__pid(thread), thread__tid(thread)) >= (int)sizeof(path)) && in thread__set_comm_from_proc() 379 if (thread__pid(thread) == thread__pid(parent)) in thread__clone_maps() 384 thread__pid(thread), thread__tid(thread), in thread__clone_maps() 385 thread__pid(parent), thread__tid(parent)); in thread__clone_maps() 428 if (thread__pid(thread) == thread__tid(thread)) in thread__main_thread() 431 if (thread__pid(thread) == -1) in thread__main_thread() 434 return machine__find_thread(machine, thread__pid(thread), thread__pid(thread)); in thread__main_thread()
|
H A D | thread.h | 140 static inline pid_t thread__pid(const struct thread *thread) in thread__pid() function 333 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered()
|
H A D | machine.c | 442 if (pid == thread__pid(th) || pid == -1 || thread__pid(th) != -1) in machine__update_thread_pid() 447 if (thread__pid(th) == thread__tid(th)) in machine__update_thread_pid() 450 leader = machine__findnew_thread(machine, thread__pid(th), thread__pid(th)); in machine__update_thread_pid() 471 thread__pid(th), thread__tid(th)); in machine__update_thread_pid() 480 pr_err("Failed to join map groups for %d:%d\n", thread__pid(th), thread__tid(th)); in machine__update_thread_pid() 1848 if (thread__pid(parent) != (pid_t)event->fork.ppid) { in machine__process_fork_event() 1850 thread__pid(parent), thread__tid(parent)); in machine__process_fork_event()
|
H A D | thread-stack.c | 115 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()
|
H A D | db-export.c | 539 *is_idle = !thread__pid(thread) && !thread__tid(thread); in db_export__pid_tid()
|
H A D | cs-etm.c | 1573 sample.pid = thread__pid(tidq->thread); in cs_etm__synth_instruction_sample() 1633 sample.pid = thread__pid(tidq->prev_packet_thread); in cs_etm__synth_branch_sample()
|
/linux/tools/perf/ |
H A D | builtin-c2c.c | 1141 return scnprintf(hpp->buf, hpp->size, "%*d", width, thread__pid(he->thread)); in STAT_FN() 1148 return thread__pid(left->thread) - thread__pid(right->thread); in pid_cmp()
|
H A D | builtin-trace.c | 1654 if (thread__pid(thread) == thread__tid(thread)) { in thread__read_fd_path() 1656 "/proc/%d/fd/%d", thread__pid(thread), fd); in thread__read_fd_path() 1660 thread__pid(thread), thread__tid(thread), fd); in thread__read_fd_path() 2506 thread__comm_str(thread), thread__pid(thread), in thread__update_stats()
|