| /linux/tools/perf/util/ |
| H A D | thread.c | 29 if (pid == thread__tid(thread) || pid == -1) { in thread__init_maps() 244 if (second_last && !last->start && thread__pid(thread) == thread__tid(thread)) in thread__exec_comm() 295 thread__pid(thread), thread__tid(thread)) >= (int)sizeof(path)) && in thread__set_comm_from_proc() 354 return fprintf(fp, "Thread %d %s\n", thread__tid(thread), thread__comm_str(thread)) + in thread__fprintf() 406 thread__pid(thread), thread__tid(thread), in thread__clone_maps() 407 thread__pid(parent), thread__tid(parent)); in thread__clone_maps() 426 thread__set_ppid(thread, thread__tid(parent)); in thread__fork() 507 tid = thread__tid(thread); in thread__e_machine() 556 if (thread__pid(thread) == thread__tid(thread)) in thread__main_thread()
|
| H A D | thread.h | 158 static inline pid_t thread__tid(const struct thread *thread) in thread__tid() function 365 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
|
| H A D | unwind-libdw.c | 403 dwfl_attach_state(dwfl, /*elf=*/NULL, thread__tid(thread), &callbacks, in unwind__get_entries() 407 err = dwfl_getthread_frames(dwfl, thread__tid(thread), frame_callback, in unwind__get_entries()
|
| H A D | data-convert-json.c | 193 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(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 | 543 *is_idle = !thread__pid(thread) && !thread__tid(thread); in db_export__pid_tid()
|
| H A D | machine.c | 485 if (thread__pid(th) == thread__tid(th)) in machine__update_thread_pid() 509 thread__pid(th), thread__tid(th)); in machine__update_thread_pid() 518 pr_err("Failed to join map groups for %d:%d\n", thread__pid(th), thread__tid(th)); in machine__update_thread_pid() 1883 thread__pid(parent), thread__tid(parent)); in machine__process_fork_event()
|
| H A D | cs-etm.c | 1581 sample.tid = thread__tid(tidq->thread); in cs_etm__synth_instruction_sample() 1642 sample.tid = thread__tid(tidq->prev_packet_thread); in cs_etm__synth_branch_sample() 2605 if (tid == -1 || thread__tid(tidq->thread) == tid) in cs_etm__process_timeless_queues()
|
| H A D | sort.c | 113 return thread__tid(right->thread) - thread__tid(left->thread); in sort__thread_cmp() 122 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread), in hist_entry__thread_snprintf() 159 if (thread__pid(he->thread) == thread__tid(he->thread)) { in hist_entry__tgid_snprintf()
|
| H A D | event.c | 818 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in machine__resolve()
|
| H A D | hist.c | 2971 thread__tid(thread)); in __hists__scnprintf_title()
|
| H A D | intel-pt.c | 1463 if (ptq->guest_thread && thread__tid(ptq->guest_thread) != tid) in intel_pt_get_guest_from_sideband()
|
| /linux/tools/perf/ |
| H A D | builtin-report.c | 909 if (thread__tid(thread) <= 0) in thread_level() 917 pr_err("Missing parent thread of %d\n", thread__tid(thread)); in thread_level() 929 thread__pid(thread), thread__tid(thread), in task__print_level() 957 if (thread__tid(a) == thread__tid(b)) in task_list_cmp() 961 if (thread__tid(a) == 0) in task_list_cmp() 964 if (thread__tid(b) == 0) in task_list_cmp() 969 return thread__tid(a) < thread__tid(b) ? -1 : 1; in task_list_cmp() 985 pr_err("Missing parent thread of %d\n", thread__tid(a)); in task_list_cmp() 996 pr_err("Missing parent thread of %d\n", thread__tid(b)); in task_list_cmp() 1009 pr_err("Missing parent thread of %d\n", thread__tid(a)); in task_list_cmp() [all …]
|
| H A D | builtin-sched.c | 913 printf("... parent: %s/%d\n", thread__comm_str(parent), thread__tid(parent)); in replay_fork_event() 914 printf("... child: %s/%d\n", thread__comm_str(child), thread__tid(child)); in replay_fork_event() 917 register_pid(sched, thread__tid(parent), thread__comm_str(parent)); in replay_fork_event() 918 register_pid(sched, thread__tid(child), thread__comm_str(child)); in replay_fork_event() 1327 register_pid(sched, thread__tid(migrant), thread__comm_str(migrant)); in latency_migrate_task_event() 1375 thread__tid(work_list->thread)); in output_lat_thread() 1398 l_tid = thread__tid(l->thread); in pid_cmp() 1399 r_tid = thread__tid(r->thread); in pid_cmp() 1750 if (new_shortname || tr->comm_changed || (verbose > 0 && thread__tid(sched_in))) { in map_switch_event() 1757 tr->shortname, thread__comm_str(sched_in), thread__tid(sched_in)); in map_switch_event() [all …]
|
| H A D | builtin-trace.c | 1718 if (thread__pid(thread) == thread__tid(thread)) { in thread__read_fd_path() 1724 thread__pid(thread), thread__tid(thread), fd); in thread__read_fd_path() 1918 printed += fprintf(fp, "%d ", thread__tid(thread)); in trace__fprintf_comm_tid() 2681 thread__tid(thread)); in thread__update_stats() 4133 pids[nr++] = thread__tid(parent); in trace__set_filter_loop_pids() 4929 printed += fprintf(fp, " %s (%d), ", thread__comm_str(thread), thread__tid(thread)); in trace__fprintf_thread() 4964 return thread__tid(a->thread) < thread__tid(b->thread) in trace_nr_events_cmp() 4966 : (thread__tid(a->thread) > thread__tid(b->thread) ? 1 : 0); in trace_nr_events_cmp()
|
| H A D | builtin-kmem.c | 979 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in process_sample_event()
|
| /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))
|
| /linux/tools/perf/ui/browsers/ |
| H A D | hists.c | 2592 comm_set_str, thread__tid(thread)); in do_zoom_thread() 2623 in_out, comm_set_str, thread__tid(thread)); in add_thread_opt()
|
| /linux/tools/perf/util/scripting-engines/ |
| H A D | trace-event-python.c | 1192 tuple_set_s32(t, 4, thread__tid(thread)); in python_export_thread()
|