/openbmc/linux/tools/perf/util/ |
H A D | thread.c | 26 if (pid == thread__tid(thread) || pid == -1) { 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() 332 return fprintf(fp, "Thread %d %s\n", thread__tid(thread), thread__comm_str(thread)) + in thread__fprintf() 386 thread__pid(thread), thread__tid(thread), in thread__clone_maps() 387 thread__pid(parent), thread__tid(parent)); in thread__clone_maps() 406 thread__set_ppid(thread, thread__tid(parent)); in thread__fork() 430 if (thread__pid(thread) == thread__tid(thread)) in thread__main_thread()
|
H A D | unwind-libdw.c | 297 err = !dwfl_attach_state(ui->dwfl, EM_NONE, thread__tid(thread), &callbacks, ui); in unwind__get_entries() 301 err = dwfl_getthread_frames(ui->dwfl, thread__tid(thread), frame_callback, ui); in unwind__get_entries()
|
H A D | thread.h | 156 static inline pid_t thread__tid(const struct thread *thread) in thread__tid() function 344 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
|
H A D | machine.c | 79 return to_find - (int)thread__tid(rb_entry(nd, struct thread_rb_node, rb_node)->thread); in thread_rb_node__cmp_tid() 85 pid_t to_find = thread__tid(th); in thread_rb_node__find() 527 if (thread__pid(th) == thread__tid(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() 577 if (thread__tid(th) == tid) { in __threads__get_last_match() 637 if (thread__tid(th) == tid) { in ____machine__findnew_thread() 643 if (tid < thread__tid(th)) in ____machine__findnew_thread() 2056 struct threads *threads = machine__threads(machine, thread__tid(th)); in __machine__remove_thread() 2108 thread__pid(parent), thread__tid(parent)); in machine__process_fork_event()
|
H A D | data-convert-json.c | 178 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread)); in process_sample_event()
|
H A D | db-export.c | 539 *is_idle = !thread__pid(thread) && !thread__tid(thread); in db_export__pid_tid()
|
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 | cs-etm.c | 1467 sample.tid = thread__tid(tidq->thread); in cs_etm__synth_instruction_sample() 1527 sample.tid = thread__tid(tidq->prev_packet_thread); in cs_etm__synth_branch_sample() 2528 if (tid == -1 || thread__tid(tidq->thread) == tid) in cs_etm__process_timeless_queues()
|
H A D | event.c | 724 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in machine__resolve()
|
H A D | sort.c | 111 return thread__tid(right->thread) - thread__tid(left->thread); in sort__thread_cmp() 120 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread), in hist_entry__thread_snprintf()
|
H A D | hist.c | 2811 thread__tid(thread)); in __hists__scnprintf_title()
|
H A D | intel-pt.c | 1461 if (ptq->guest_thread && thread__tid(ptq->guest_thread) != tid) in intel_pt_get_guest_from_sideband()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-sched.c | 923 register_pid(sched, thread__tid(parent), thread__comm_str(parent)); in replay_fork_event() 924 register_pid(sched, thread__tid(child), thread__comm_str(child)); in replay_fork_event() 1367 thread__tid(work_list->thread)); in output_lat_thread() 1390 l_tid = thread__tid(l->thread); in pid_cmp() 1391 r_tid = thread__tid(r->thread); in pid_cmp() 1958 pid_t tid = thread__tid(thread); in timehist_get_commstr() 2042 if (thread__tid(thread) == 0) in task_state_char() 2077 c = (thread__tid(thread) == 0) ? 'i' : 's'; in timehist_print_sample() 2104 if (thread__tid(thread) == 0) in timehist_print_sample() 2648 if (!sched->idle_hist || thread__tid(thread) == 0) { in timehist_sched_change_event() [all …]
|
H A D | builtin-trace.c | 1414 if (thread__pid(thread) == thread__tid(thread)) { in thread__read_fd_path() 1420 thread__pid(thread), thread__tid(thread), fd); in thread__read_fd_path() 1588 printed += fprintf(fp, "%d ", thread__tid(thread)); in trace__fprintf_comm_tid() 2237 thread__tid(thread)); 3591 pids[nr++] = thread__tid(parent); 4295 printed += fprintf(fp, " %s (%d), ", thread__comm_str(thread), thread__tid(thread));
|
H A D | builtin-report.c | 873 thread__pid(thread), thread__tid(thread), in task__print_level()
|
H A D | builtin-kmem.c | 977 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in process_sample_event()
|
/openbmc/linux/tools/perf/tests/ |
H A D | hists_common.c | 214 i, thread__comm_str(he->thread), thread__tid(he->thread), in print_hists_out()
|
H A D | hists_output.c | 135 #define PID(he) (thread__tid(he->thread))
|
/openbmc/linux/tools/perf/ui/browsers/ |
H A D | hists.c | 2528 comm_set_str, thread__tid(thread)); in do_zoom_thread() 2559 in_out, comm_set_str, thread__tid(thread)); in add_thread_opt()
|
/openbmc/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 1182 tuple_set_s32(t, 4, thread__tid(thread)); in python_export_thread()
|