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

/linux-master/tools/perf/util/
H A Dthread.c26 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 Dthreads.c71 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 Dthread.h149 static inline pid_t thread__tid(const struct thread *thread) function
337 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) {
H A Dunwind-libdw.c297 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 Ddata-convert-json.c178 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread));
H A Ddb-export.c539 *is_idle = !thread__pid(thread) && !thread__tid(thread);
H A Dthread-stack.c115 return !(thread__tid(thread) || thread__pid(thread));
1129 if (ts->comm != comm && thread__pid(thread) == thread__tid(thread)) {
H A Dcs-etm.c1491 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 Devent.c724 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread));
H A Dmachine.c473 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 Dsort.c112 return thread__tid(right->thread) - thread__tid(left->thread);
121 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread),
H A Dhist.c2802 thread__tid(thread));
H A Dintel-pt.c1459 if (ptq->guest_thread && thread__tid(ptq->guest_thread) != tid)
/linux-master/tools/perf/
H A Dbuiltin-report.c880 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 Dbuiltin-sched.c901 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 Dbuiltin-trace.c1415 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 Dbuiltin-kmem.c977 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread));
/linux-master/tools/perf/tests/
H A Dhists_common.c214 i, thread__comm_str(he->thread), thread__tid(he->thread),
H A Dhists_output.c135 #define PID(he) (thread__tid(he->thread))
/linux-master/tools/perf/ui/browsers/
H A Dhists.c2528 comm_set_str, thread__tid(thread));
2559 in_out, comm_set_str, thread__tid(thread));
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1193 tuple_set_s32(t, 4, thread__tid(thread));

Completed in 276 milliseconds