Home
last modified time | relevance | path

Searched refs:thread__tid (Results 1 – 21 of 21) sorted by relevance

/linux/tools/perf/util/
A Dthread.c26 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()
384 thread__pid(thread), thread__tid(thread), in thread__clone_maps()
385 thread__pid(parent), thread__tid(parent)); in thread__clone_maps()
404 thread__set_ppid(thread, thread__tid(parent)); in thread__fork()
428 if (thread__pid(thread) == thread__tid(thread)) in thread__main_thread()
A Dthreads.c71 if (thread__tid(th) == tid) in __threads_table_entry__get_last_match()
156 struct threads_table_entry *table = threads__table(threads, thread__tid(thread)); in threads__remove()
163 hashmap__delete(&table->shard, thread__tid(thread), /*old_key=*/NULL, &old_value); in threads__remove()
A Dthread.h150 static inline pid_t thread__tid(const struct thread *thread) in thread__tid() function
338 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
A Dunwind-libdw.c297 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()
A Ddata-convert-json.c178 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread)); in process_sample_event()
A Ddb-export.c539 *is_idle = !thread__pid(thread) && !thread__tid(thread); in db_export__pid_tid()
A 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()
A Dmachine.c445 if (thread__pid(th) == thread__tid(th)) in machine__update_thread_pid()
469 thread__pid(th), thread__tid(th)); in machine__update_thread_pid()
478 pr_err("Failed to join map groups for %d:%d\n", thread__pid(th), thread__tid(th)); in machine__update_thread_pid()
1846 thread__pid(parent), thread__tid(parent)); in machine__process_fork_event()
A Dcs-etm.c1574 sample.tid = thread__tid(tidq->thread); in cs_etm__synth_instruction_sample()
1634 sample.tid = thread__tid(tidq->prev_packet_thread); in cs_etm__synth_branch_sample()
2606 if (tid == -1 || thread__tid(tidq->thread) == tid) in cs_etm__process_timeless_queues()
A Devent.c744 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in machine__resolve()
A Dsort.c113 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()
A Dhist.c2829 thread__tid(thread)); in __hists__scnprintf_title()
A Dintel-pt.c1461 if (ptq->guest_thread && thread__tid(ptq->guest_thread) != tid) in intel_pt_get_guest_from_sideband()
/linux/tools/perf/
A Dbuiltin-report.c894 if (thread__tid(thread) <= 0) in thread_level()
914 thread__pid(thread), thread__tid(thread), in task__print_level()
942 if (thread__tid(a) == thread__tid(b)) in task_list_cmp()
946 if (thread__tid(a) == 0) in task_list_cmp()
949 if (thread__tid(b) == 0) in task_list_cmp()
954 return thread__tid(a) < thread__tid(b) ? -1 : 1; in task_list_cmp()
970 pr_err("Missing parent thread of %d\n", thread__tid(a)); in task_list_cmp()
981 pr_err("Missing parent thread of %d\n", thread__tid(b)); in task_list_cmp()
994 pr_err("Missing parent thread of %d\n", thread__tid(a)); in task_list_cmp()
1008 if (thread__tid(a) == thread__tid(b)) { in task_list_cmp()
[all …]
A Dbuiltin-sched.c915 register_pid(sched, thread__tid(parent), thread__comm_str(parent)); in replay_fork_event()
916 register_pid(sched, thread__tid(child), thread__comm_str(child)); in replay_fork_event()
1358 thread__tid(work_list->thread)); in output_lat_thread()
1381 l_tid = thread__tid(l->thread); in pid_cmp()
1382 r_tid = thread__tid(r->thread); in pid_cmp()
1747 tr->shortname, thread__comm_str(sched_in), thread__tid(sched_in)); in map_switch_event()
2032 pid_t tid = thread__tid(thread); in timehist_get_commstr()
2175 c = (thread__tid(thread) == 0) ? 'i' : 's'; in timehist_print_sample()
2195 printf(" %5c ", thread__tid(thread) == 0 ? 'I' : state); in timehist_print_sample()
2205 if (thread__tid(thread) == 0) in timehist_print_sample()
[all …]
A Dbuiltin-trace.c1650 if (thread__pid(thread) == thread__tid(thread)) { in thread__read_fd_path()
1656 thread__pid(thread), thread__tid(thread), fd); in thread__read_fd_path()
1850 printed += fprintf(fp, "%d ", thread__tid(thread)); in trace__fprintf_comm_tid()
2525 thread__tid(thread));
3988 pids[nr++] = thread__tid(parent);
4697 printed += fprintf(fp, " %s (%d), ", thread__comm_str(thread), thread__tid(thread));
4732 return thread__tid(a->thread) < thread__tid(b->thread)
4734 : (thread__tid(a->thread) > thread__tid(b->thread) ? 1 : 0);
A Dbuiltin-kmem.c977 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in process_sample_event()
/linux/tools/perf/tests/
A Dhists_common.c214 i, thread__comm_str(he->thread), thread__tid(he->thread), in print_hists_out()
A Dhists_output.c135 #define PID(he) (thread__tid(he->thread))
/linux/tools/perf/ui/browsers/
A Dhists.c2555 comm_set_str, thread__tid(thread)); in do_zoom_thread()
2586 in_out, comm_set_str, thread__tid(thread)); in add_thread_opt()
/linux/tools/perf/util/scripting-engines/
A Dtrace-event-python.c1197 tuple_set_s32(t, 4, thread__tid(thread)); in python_export_thread()

Completed in 92 milliseconds