/linux-master/tools/perf/util/ |
H A D | thread.c | 26 if (pid == thread__tid(thread) || pid == -1) { 228 if (second_last && !last->start && thread__pid(thread) == thread__tid(thread)) 278 thread__pid(thread), thread__tid(thread)) >= (int)sizeof(path)) && 336 return fprintf(fp, "Thread %d %s\n", thread__tid(thread), thread__comm_str(thread)) + 388 thread__pid(thread), thread__tid(thread), 389 thread__pid(parent), thread__tid(parent)); 408 thread__set_ppid(thread, thread__tid(parent)); 432 if (thread__pid(thread) == thread__tid(thread))
|
H A D | threads.c | 71 if (thread__tid(th) == tid) 156 struct threads_table_entry *table = threads__table(threads, thread__tid(thread)); 163 hashmap__delete(&table->shard, thread__tid(thread), /*old_key=*/NULL, &old_value);
|
H A D | thread.h | 149 static inline pid_t thread__tid(const struct thread *thread) function 337 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) {
|
H A D | unwind-libdw.c | 297 err = !dwfl_attach_state(ui->dwfl, EM_NONE, thread__tid(thread), &callbacks, ui); 301 err = dwfl_getthread_frames(ui->dwfl, thread__tid(thread), frame_callback, ui);
|
H A D | data-convert-json.c | 178 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread));
|
H A D | db-export.c | 539 *is_idle = !thread__pid(thread) && !thread__tid(thread);
|
H A D | thread-stack.c | 115 return !(thread__tid(thread) || thread__pid(thread)); 1129 if (ts->comm != comm && thread__pid(thread) == thread__tid(thread)) {
|
H A D | cs-etm.c | 1491 sample.tid = thread__tid(tidq->thread); 1551 sample.tid = thread__tid(tidq->prev_packet_thread); 2552 if (tid == -1 || thread__tid(tidq->thread) == tid)
|
H A D | event.c | 724 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread));
|
H A D | machine.c | 473 if (thread__pid(th) == thread__tid(th)) 497 thread__pid(th), thread__tid(th)); 506 pr_err("Failed to join map groups for %d:%d\n", thread__pid(th), thread__tid(th)); 1933 thread__pid(parent), thread__tid(parent));
|
H A D | sort.c | 112 return thread__tid(right->thread) - thread__tid(left->thread); 121 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread),
|
H A D | hist.c | 2802 thread__tid(thread));
|
H A D | intel-pt.c | 1459 if (ptq->guest_thread && thread__tid(ptq->guest_thread) != tid)
|
/linux-master/tools/perf/ |
H A D | builtin-report.c | 880 if (thread__tid(thread) <= 0) 888 pr_err("Missing parent thread of %d\n", thread__tid(thread)); 900 thread__pid(thread), thread__tid(thread), 928 if (thread__tid(a) == thread__tid(b)) 932 if (thread__tid(a) == 0) 935 if (thread__tid(b) == 0) 940 return thread__tid(a) < thread__tid(b) ? -1 : 1; 956 pr_err("Missing parent thread of %d\n", thread__tid( [all...] |
H A D | builtin-sched.c | 901 printf("... parent: %s/%d\n", thread__comm_str(parent), thread__tid(parent)); 902 printf("... child: %s/%d\n", thread__comm_str(child), thread__tid(child)); 905 register_pid(sched, thread__tid(parent), thread__comm_str(parent)); 906 register_pid(sched, thread__tid(child), thread__comm_str(child)); 1294 register_pid(sched, thread__tid(migrant), thread__comm_str(migrant)); 1342 thread__tid(work_list->thread)); 1365 l_tid = thread__tid(l->thread); 1366 r_tid = thread__tid(r->thread); 1664 if (new_shortname || tr->comm_changed || (verbose > 0 && thread__tid(sched_in))) { 1671 tr->shortname, thread__comm_str(sched_in), thread__tid(sched_i [all...] |
H A D | builtin-trace.c | 1415 if (thread__pid(thread) == thread__tid(thread)) { 1421 thread__pid(thread), thread__tid(thread), fd); 1589 printed += fprintf(fp, "%d ", thread__tid(thread)); 2238 thread__tid(thread)); 3591 pids[nr++] = thread__tid(parent); 4294 printed += fprintf(fp, " %s (%d), ", thread__comm_str(thread), thread__tid(thread)); 4329 return thread__tid(a->thread) < thread__tid(b->thread) 4331 : (thread__tid(a->thread) > thread__tid( [all...] |
H A D | builtin-kmem.c | 977 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread));
|
/linux-master/tools/perf/tests/ |
H A D | hists_common.c | 214 i, thread__comm_str(he->thread), thread__tid(he->thread),
|
H A D | hists_output.c | 135 #define PID(he) (thread__tid(he->thread))
|
/linux-master/tools/perf/ui/browsers/ |
H A D | hists.c | 2528 comm_set_str, thread__tid(thread)); 2559 in_out, comm_set_str, thread__tid(thread));
|
/linux-master/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 1193 tuple_set_s32(t, 4, thread__tid(thread));
|