Searched refs:thread__pid (Results 1 – 16 of 16) sorted by relevance
/openbmc/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() 381 if (thread__pid(thread) == thread__pid(parent)) in thread__clone_maps() 386 thread__pid(thread), thread__tid(thread), in thread__clone_maps() 387 thread__pid(parent), thread__tid(parent)); in thread__clone_maps() 430 if (thread__pid(thread) == thread__tid(thread)) in thread__main_thread() 433 if (thread__pid(thread) == -1) in thread__main_thread() 436 return machine__find_thread(machine, thread__pid(thread), thread__pid(thread)); in thread__main_thread()
|
H A D | thread.h | 146 static inline pid_t thread__pid(const struct thread *thread) in thread__pid() function 339 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered()
|
H A D | machine.c | 522 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()
|
H A D | data-convert-json.c | 177 output_json_key_format(out, true, 3, "pid", "%i", thread__pid(al.thread)); in process_sample_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 | sort.c | 1546 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()
|
H A D | intel-bts.c | 459 btsq->pid = thread__pid(thread); in intel_bts_process_queue()
|
H A D | cs-etm.c | 1466 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()
|
H A D | arm-spe.c | 257 speq->pid = thread__pid(speq->thread); in arm_spe_set_pid_tid_cpu()
|
H A D | intel-pt.c | 1471 ptq->guest_pid = thread__pid(ptq->guest_thread); in intel_pt_get_guest_from_sideband() 1494 ptq->pid = thread__pid(ptq->thread); in intel_pt_set_pid_tid_cpu() 3103 ptq->pid = thread__pid(ptq->thread); in intel_pt_sample_set_pid_tid_cpu()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-c2c.c | 1158 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()
|
H A D | builtin-trace.c | 1414 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() 2240 thread__comm_str(thread), thread__pid(thread),
|
H A D | builtin-report.c | 873 thread__pid(thread), thread__tid(thread), in task__print_level()
|
H A D | builtin-sched.c | 1959 pid_t pid = thread__pid(thread); in timehist_get_commstr()
|
/openbmc/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 1181 tuple_set_s32(t, 3, thread__pid(thread)); in python_export_thread()
|