Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H 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()
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 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()
H A Dthread.h156 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 Dmachine.c79 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 Ddata-convert-json.c178 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread)); in process_sample_event()
H A Ddb-export.c539 *is_idle = !thread__pid(thread) && !thread__tid(thread); in db_export__pid_tid()
H 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()
H A Dcs-etm.c1467 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 Devent.c724 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in machine__resolve()
H A Dsort.c111 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 Dhist.c2811 thread__tid(thread)); in __hists__scnprintf_title()
H A Dintel-pt.c1461 if (ptq->guest_thread && thread__tid(ptq->guest_thread) != tid) in intel_pt_get_guest_from_sideband()
/openbmc/linux/tools/perf/
H A Dbuiltin-sched.c923 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 Dbuiltin-trace.c1414 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 Dbuiltin-report.c873 thread__pid(thread), thread__tid(thread), in task__print_level()
H A Dbuiltin-kmem.c977 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread)); in process_sample_event()
/openbmc/linux/tools/perf/tests/
H A Dhists_common.c214 i, thread__comm_str(he->thread), thread__tid(he->thread), in print_hists_out()
H A Dhists_output.c135 #define PID(he) (thread__tid(he->thread))
/openbmc/linux/tools/perf/ui/browsers/
H A Dhists.c2528 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 Dtrace-event-python.c1182 tuple_set_s32(t, 4, thread__tid(thread)); in python_export_thread()