Home
last modified time | relevance | path

Searched refs:perf_thread_map__pid (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/tools/lib/perf/tests/
Dtest-threadmap.c26 perf_thread_map__pid(threads, i) == (array ? array[i] : -1)); in test_threadmap_array()
33 perf_thread_map__pid(threads, 0) == (array ? array[0] : -1)); in test_threadmap_array()
37 perf_thread_map__pid(threads, i) == i * 100); in test_threadmap_array()
/Linux-v6.1/tools/perf/tests/
Dthread-map.c37 perf_thread_map__pid(map, 0) == getpid()); in test__thread_map()
52 TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1); in test__thread_map()
79 perf_thread_map__pid(threads, 0) == getpid()); in process_event()
/Linux-v6.1/tools/lib/perf/include/perf/
Dthreadmap.h16 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
/Linux-v6.1/tools/perf/util/
Dbpf_off_cpu.c77 perf_thread_map__pid(evlist->core.threads, 0) != -1) { in off_cpu_start()
85 pid = perf_thread_map__pid(evlist->core.threads, 0); in off_cpu_start()
244 pid = perf_thread_map__pid(evlist->core.threads, i); in off_cpu_prepare()
Dthread_map.c313 printed += fprintf(fp, "%s%d", i ? ", " : "", perf_thread_map__pid(threads, i)); in thread_map__fprintf()
344 pid_t pid = perf_thread_map__pid(map, i); in comm_init()
Dbpf_ftrace.c79 pid = perf_thread_map__pid(ftrace->evlist->core.threads, i); in perf_ftrace__latency_prepare_bpf()
Dbpf_lock_contention.c77 pid = perf_thread_map__pid(evlist->core.threads, i); in lock_contention_prepare()
Dsynthetic-events.c869 perf_thread_map__pid(threads, thread), 0, in perf_event__synthesize_thread_map()
880 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map()
885 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map()
1207 entry->pid = perf_thread_map__pid(threads, i); in perf_event__synthesize_thread_map2()
Dstat-display.c193 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in aggr_printout()
199 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in aggr_printout()
Dauxtrace.c188 mp->tid = perf_thread_map__pid(evlist->core.threads, 0); in auxtrace_mmap_params__set_idx()
193 mp->tid = perf_thread_map__pid(evlist->core.threads, idx); in auxtrace_mmap_params__set_idx()
Devsel.c1738 pid_t ignore_pid = perf_thread_map__pid(threads, thread); in evsel__ignore_missing_thread()
2078 pid = perf_thread_map__pid(threads, thread); in evsel__open_cpu()
/Linux-v6.1/tools/lib/perf/
Dlibperf.map20 perf_thread_map__pid;
Dthreadmap.c98 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx) in perf_thread_map__pid() function
Devlist.c391 sid->tid = perf_thread_map__pid(evsel->threads, thread); in perf_evsel__set_sid_idx()
/Linux-v6.1/tools/lib/perf/Documentation/
Dlibperf.txt70 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
/Linux-v6.1/tools/perf/
Dbuiltin-ftrace.c270 perf_thread_map__pid(ftrace->evlist->core.threads, i)); in set_tracing_pid()
Dbuiltin-trace.c3734 } else if (perf_thread_map__pid(trace->evlist->core.threads, 0) == -1) {
4094 trace->multiple_threads = perf_thread_map__pid(evlist->core.threads, 0) == -1 ||
Dbuiltin-script.c2260 perf_thread_map__pid(counter->core.threads, thread), in __process_stat()
/Linux-v6.1/tools/perf/util/scripting-engines/
Dtrace-event-python.c1665 perf_thread_map__pid(threads, thread), tstamp, in python_process_stat()