Symbol: perf_thread_map__pid
tools/lib/perf/evlist.c
497
sid->tid = perf_thread_map__pid(evsel->threads, thread);
tools/lib/perf/include/perf/threadmap.h
16
LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
tools/lib/perf/tests/test-threadmap.c
26
perf_thread_map__pid(threads, i) == (array ? array[i] : -1));
tools/lib/perf/tests/test-threadmap.c
33
perf_thread_map__pid(threads, 0) == (array ? array[0] : -1));
tools/lib/perf/tests/test-threadmap.c
37
perf_thread_map__pid(threads, i) == i * 100);
tools/perf/builtin-ftrace.c
381
perf_thread_map__pid(ftrace->evlist->core.threads, i));
tools/perf/builtin-script.c
2301
.system_wide = perf_thread_map__pid(evsel->core.threads, /*idx=*/0) == -1,
tools/perf/builtin-script.c
2346
if (perf_thread_map__pid(evsel->core.threads, /*idx=*/0) == -1 ||
tools/perf/builtin-script.c
2589
perf_thread_map__pid(counter->core.threads, thread),
tools/perf/builtin-trace.c
4165
} else if (perf_thread_map__pid(trace->evlist->core.threads, 0) == -1) {
tools/perf/builtin-trace.c
4550
trace->multiple_threads = perf_thread_map__pid(evlist->core.threads, 0) == -1 ||
tools/perf/tests/thread-map.c
38
perf_thread_map__pid(map, 0) == getpid());
tools/perf/tests/thread-map.c
53
TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1);
tools/perf/tests/thread-map.c
80
perf_thread_map__pid(threads, 0) == getpid());
tools/perf/util/auxtrace.c
205
mp->tid = perf_thread_map__pid(evlist->core.threads, 0);
tools/perf/util/auxtrace.c
208
mp->tid = perf_thread_map__pid(evlist->core.threads, idx);
tools/perf/util/bpf-filter.c
342
.tgid = perf_thread_map__pid(threads, i),
tools/perf/util/bpf-filter.c
410
int pid = perf_thread_map__pid(threads, i);
tools/perf/util/bpf_counter.c
625
key = perf_thread_map__pid(evsel->core.threads, i);
tools/perf/util/bpf_ftrace.c
102
pid = perf_thread_map__pid(ftrace->evlist->core.threads, i);
tools/perf/util/bpf_lock_contention.c
342
pid = perf_thread_map__pid(evlist->core.threads, i);
tools/perf/util/bpf_off_cpu.c
270
pid = perf_thread_map__pid(evlist->core.threads, i);
tools/perf/util/bpf_off_cpu.c
74
perf_thread_map__pid(evlist->core.threads, 0) != -1) {
tools/perf/util/bpf_off_cpu.c
80
pid = perf_thread_map__pid(evlist->core.threads, 0);
tools/perf/util/drm_pmu.c
667
int pid = perf_thread_map__pid(evsel->core.threads, thread);
tools/perf/util/evsel.c
2203
pid_t ignore_pid = perf_thread_map__pid(threads, thread);
tools/perf/util/evsel.c
2846
pid = perf_thread_map__pid(threads, thread);
tools/perf/util/python.c
626
return Py_BuildValue("i", perf_thread_map__pid(pthreads->threads, i));
tools/perf/util/scripting-engines/trace-event-python.c
1709
perf_thread_map__pid(threads, thread), tstamp,
tools/perf/util/stat-display.c
298
PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx));
tools/perf/util/stat-display.c
353
perf_thread_map__pid(evsel->core.threads, id.thread_idx),
tools/perf/util/stat-display.c
404
perf_thread_map__pid(evsel->core.threads, id.thread_idx));
tools/perf/util/synthetic-events.c
1238
entry->pid = perf_thread_map__pid(threads, i);
tools/perf/util/synthetic-events.c
900
perf_thread_map__pid(threads, thread), 0,
tools/perf/util/synthetic-events.c
911
if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) {
tools/perf/util/synthetic-events.c
916
if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) {
tools/perf/util/thread_map.c
281
printed += fprintf(fp, "%s%d", i ? ", " : "", perf_thread_map__pid(threads, i));
tools/perf/util/thread_map.c
312
pid_t pid = perf_thread_map__pid(map, i);
tools/perf/util/tool_pmu.c
246
pid = perf_thread_map__pid(threads, thread);